Corrected the major number for usb and added ums as major 111
This commit is contained in:
parent
97a0b2ee1f
commit
2f8fa3c9c9
12
etc/MAKEDEV
12
etc/MAKEDEV
@ -113,7 +113,7 @@
|
||||
# pci PCI configuration-space access from user mode
|
||||
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.177 1998/11/12 22:45:24 nsouch Exp $
|
||||
# $Id: MAKEDEV,v 1.178 1998/11/12 22:48:16 nsouch Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||
@ -753,6 +753,16 @@ ppi*)
|
||||
mknod ppi$unit c 82 $unit
|
||||
;;
|
||||
|
||||
usb*)
|
||||
unit=`expr $i : 'usb\(.*\)'`
|
||||
mknod usb$unit c 108 $unit
|
||||
;;
|
||||
|
||||
ums*)
|
||||
unit=`expr $i : 'ums\(.*\)'`
|
||||
mknod ums$unit c 111 $unit
|
||||
;;
|
||||
|
||||
lpt*)
|
||||
unit=`expr $i : 'lpt\(.*\)'`
|
||||
mknod lpt$unit c 16 $unit
|
||||
|
@ -113,7 +113,7 @@
|
||||
# pci PCI configuration-space access from user mode
|
||||
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
|
||||
#
|
||||
# $Id: MAKEDEV,v 1.177 1998/11/12 22:45:24 nsouch Exp $
|
||||
# $Id: MAKEDEV,v 1.178 1998/11/12 22:48:16 nsouch Exp $
|
||||
#
|
||||
|
||||
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
|
||||
@ -753,6 +753,16 @@ ppi*)
|
||||
mknod ppi$unit c 82 $unit
|
||||
;;
|
||||
|
||||
usb*)
|
||||
unit=`expr $i : 'usb\(.*\)'`
|
||||
mknod usb$unit c 108 $unit
|
||||
;;
|
||||
|
||||
ums*)
|
||||
unit=`expr $i : 'ums\(.*\)'`
|
||||
mknod ums$unit c 111 $unit
|
||||
;;
|
||||
|
||||
lpt*)
|
||||
unit=`expr $i : 'lpt\(.*\)'`
|
||||
mknod lpt$unit c 16 $unit
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user