summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>1999-01-03 16:48:03 +0000
committern_hibma <n_hibma@FreeBSD.org>1999-01-03 16:48:03 +0000
commitea1bd971b492ea9b48b61920cb30a83763fd546d (patch)
tree5014506eaa2981651c8c8666bb9a0c61996c31e4 /sys
parent9ace34cb3e39645052a5a1906c73be0736836c52 (diff)
downloadFreeBSD-src-ea1bd971b492ea9b48b61920cb30a83763fd546d.zip
FreeBSD-src-ea1bd971b492ea9b48b61920cb30a83763fd546d.tar.gz
Corrected the major number for usb and added ums as major 111
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/majors3
-rw-r--r--sys/dev/usb/ums.c4
-rw-r--r--sys/dev/usb/usbdi.c4
-rw-r--r--sys/i386/conf/majors.i3863
4 files changed, 8 insertions, 6 deletions
diff --git a/sys/conf/majors b/sys/conf/majors
index 8ee7e7d..c2e0b46 100644
--- a/sys/conf/majors
+++ b/sys/conf/majors
@@ -1,4 +1,4 @@
-$Id: majors.i386,v 1.57 1998/12/27 14:00:10 sos Exp $
+$Id: majors.i386,v 1.58 1998/12/29 00:04:48 jkh Exp $
Hopefully, this list will one day be obsoleted by DEVFS, but for now
this is the current allocation of device major numbers.
@@ -155,5 +155,6 @@ chrdev name comments
108 usb Universal Serial Bus (nick.hibma@jrc.it)
109 id Intelligent Disk [Array] (md@doc.ic.ac.uk)
110 ses SCSI Environmental Services driver (mjacob@feral.com)
+111 ums USB Mouse (nick.hibma@jrc.it)
200 ?? entries from 200-255 are reserved for local use
255 ?? entries from 200-255 are reserved for local use
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 0824d40..19aee47 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -1,5 +1,5 @@
/* $NetBSD: ums.c,v 1.8 1998/08/01 20:11:39 augustss Exp $ */
-/* FreeBSD $Id$ */
+/* FreeBSD $Id: ums.c,v 1.3 1998/12/14 09:32:24 n_hibma Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -158,7 +158,7 @@ static d_read_t ums_read;
static d_ioctl_t ums_ioctl;
static d_poll_t ums_poll;
-#define UMS_CDEV_MAJOR 138 /* XXX NWH should be requested */
+#define UMS_CDEV_MAJOR 111
static struct cdevsw ums_cdevsw = {
ums_open, ums_close, ums_read, nowrite,
diff --git a/sys/dev/usb/usbdi.c b/sys/dev/usb/usbdi.c
index 5285c62..f91893a 100644
--- a/sys/dev/usb/usbdi.c
+++ b/sys/dev/usb/usbdi.c
@@ -1,5 +1,5 @@
/* $NetBSD: usbdi.c,v 1.9 1998/08/02 22:30:53 augustss Exp $ */
-/* FreeBSD $Id$ */
+/* FreeBSD $Id: usbdi.c,v 1.3 1998/12/14 09:32:24 n_hibma Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -84,7 +84,7 @@ void usbd_do_request_async_cb
static SIMPLEQ_HEAD(, usbd_request) usbd_free_requests;
#if defined(__FreeBSD__)
-#define USB_CDEV_MAJOR 79
+#define USB_CDEV_MAJOR 110
extern struct cdevsw usb_cdevsw;
#endif
diff --git a/sys/i386/conf/majors.i386 b/sys/i386/conf/majors.i386
index 8ee7e7d..c2e0b46 100644
--- a/sys/i386/conf/majors.i386
+++ b/sys/i386/conf/majors.i386
@@ -1,4 +1,4 @@
-$Id: majors.i386,v 1.57 1998/12/27 14:00:10 sos Exp $
+$Id: majors.i386,v 1.58 1998/12/29 00:04:48 jkh Exp $
Hopefully, this list will one day be obsoleted by DEVFS, but for now
this is the current allocation of device major numbers.
@@ -155,5 +155,6 @@ chrdev name comments
108 usb Universal Serial Bus (nick.hibma@jrc.it)
109 id Intelligent Disk [Array] (md@doc.ic.ac.uk)
110 ses SCSI Environmental Services driver (mjacob@feral.com)
+111 ums USB Mouse (nick.hibma@jrc.it)
200 ?? entries from 200-255 are reserved for local use
255 ?? entries from 200-255 are reserved for local use
OpenPOWER on IntegriCloud