diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-07-06 21:51:58 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2000-07-06 21:51:58 +0000 |
commit | 083936ccf48779c0abbc2edebf92ed7eccf35591 (patch) | |
tree | 9a83d499af76f62f221f63e534ea63cb557aafc7 /sys/dev/usb/ucom.c | |
parent | c2b80acd8456bdafc6dda937e55da3c405a0b907 (diff) |
Add ucom to char. device list and change XX_UNITMASK's to match OpenBSD;
from dugsong@
Diffstat (limited to 'sys/dev/usb/ucom.c')
-rw-r--r-- | sys/dev/usb/ucom.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 5d79eddcef9..28d49c05b96 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ucom.c,v 1.4 2000/07/04 11:44:22 fgsch Exp $ */ +/* $OpenBSD: ucom.c,v 1.5 2000/07/06 21:51:56 fgsch Exp $ */ /* $NetBSD: ucom.c,v 1.22 2000/04/14 14:21:55 augustss Exp $ */ /* @@ -75,9 +75,9 @@ int ucomdebug = 0; #endif #define DPRINTF(x) DPRINTFN(0, x) -#define UCOMUNIT_MASK 0x3ffff -#define UCOMDIALOUT_MASK 0x80000 -#define UCOMCALLUNIT_MASK 0x40000 +#define UCOMUNIT_MASK 0x3f +#define UCOMDIALOUT_MASK 0x80 +#define UCOMCALLUNIT_MASK 0x40 #define UCOMUNIT(x) (minor(x) & UCOMUNIT_MASK) #define UCOMDIALOUT(x) (minor(x) & UCOMDIALOUT_MASK) |