22 lines
878 B
Text
22 lines
878 B
Text
|
$NetBSD: patch-ab,v 1.3 2006/05/12 12:26:58 joerg Exp $
|
||
|
|
||
|
--- konica/setSpeed.c.orig 2006-05-06 12:23:27.000000000 +0000
|
||
|
+++ konica/setSpeed.c
|
||
|
@@ -17,14 +17,14 @@ void qm100_setSpeed(int serialdev, int s
|
||
|
|
||
|
newt.c_cflag |= CS8;
|
||
|
newt.c_iflag &= ~(IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK|ISTRIP|INLCR);
|
||
|
- #if defined(__FreeBSD__) || defined(__NetBSD__) /* by fujisawa@konica.co.jp */
|
||
|
+ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) /* by fujisawa@konica.co.jp */
|
||
|
newt.c_iflag &= ~(IGNCR|ICRNL|IXON|IXOFF| IXANY|IMAXBEL);
|
||
|
#else
|
||
|
newt.c_iflag &= ~(IGNCR|ICRNL|IXON|IXOFF|IUCLC|IXANY|IMAXBEL);
|
||
|
#endif
|
||
|
newt.c_oflag &= ~(OPOST);
|
||
|
newt.c_lflag &= ~(ISIG|ICANON);
|
||
|
- #if defined(__FreeBSD__) || defined(__NetBSD__)
|
||
|
+ #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||
|
/**/
|
||
|
#else
|
||
|
newt.c_cflag &= ~(XCASE);
|