summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-07-04 14:58:56 +0000
committerphk <phk@FreeBSD.org>1999-07-04 14:58:56 +0000
commit2a99fba980917e0c44d817ff30a95e4ab0db8368 (patch)
treecb954ce38edc4ff00b3bacdd6b2201102a933798 /sys/dev
parent6b32f98934ea4ac96b2953cf3bb665bd55d509e7 (diff)
downloadFreeBSD-src-2a99fba980917e0c44d817ff30a95e4ab0db8368.zip
FreeBSD-src-2a99fba980917e0c44d817ff30a95e4ab0db8368.tar.gz
Remove cmaj and bmaj args from DEV_DRIVER_MODULE.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/atkbdc/psm.c5
-rw-r--r--sys/dev/bktr/bktr_core.c5
-rw-r--r--sys/dev/fb/fb.c5
-rw-r--r--sys/dev/fdc/fdc.c5
-rw-r--r--sys/dev/ida/ida_disk.c5
-rw-r--r--sys/dev/iicbus/iic.c5
-rw-r--r--sys/dev/sio/sio.c5
-rw-r--r--sys/dev/smbus/smb.c5
-rw-r--r--sys/dev/usb/ugen.c3
-rw-r--r--sys/dev/usb/uhid.c4
-rw-r--r--sys/dev/usb/ulpt.c3
-rw-r--r--sys/dev/usb/ums.c4
12 files changed, 22 insertions, 32 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c
index 74438dc..9626023 100644
--- a/sys/dev/atkbdc/psm.c
+++ b/sys/dev/atkbdc/psm.c
@@ -20,7 +20,7 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: psm.c,v 1.10 1999/05/30 16:52:47 phk Exp $
+ * $Id: psm.c,v 1.11 1999/06/03 12:40:53 yokota Exp $
*/
/*
@@ -2292,7 +2292,6 @@ psmresume(void *dummy)
}
#endif /* PSM_HOOKAPM */
-DEV_DRIVER_MODULE(psm, atkbdc, psm_driver, psm_devclass,
- CDEV_MAJOR, NOMAJ, psm_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(psm, atkbdc, psm_driver, psm_devclass, psm_cdevsw, 0, 0);
#endif /* NPSM > 0 */
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c
index 1394def..1cd4dab 100644
--- a/sys/dev/bktr/bktr_core.c
+++ b/sys/dev/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $Id: brooktree848.c,v 1.86 1999/06/13 16:05:00 roger Exp $ */
+/* $Id: brooktree848.c,v 1.87 1999/07/03 20:17:00 peter Exp $ */
/* BT848 Driver for Brooktree's Bt848, Bt848A, Bt849A, Bt878, Bt879 based cards.
The Brooktree BT848 Driver driver is based upon Mark Tinguely and
Jim Lowe's driver for the Matrox Meteor PCI card . The
@@ -613,8 +613,7 @@ static struct cdevsw bktr_cdevsw = {
/* bmaj */ -1
};
-DEV_DRIVER_MODULE(bktr, pci, bktr_driver, bktr_devclass, CDEV_MAJOR, NOMAJ,
- bktr_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(bktr, pci, bktr_driver, bktr_devclass, bktr_cdevsw, 0, 0);
#endif /* __FreeBSD__ */
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c
index e10b75b..2b1eead 100644
--- a/sys/dev/fb/fb.c
+++ b/sys/dev/fb/fb.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: fb.c,v 1.5 1999/05/31 11:24:38 phk Exp $
+ * $Id: fb.c,v 1.6 1999/06/22 14:13:22 yokota Exp $
*/
#include "fb.h"
@@ -508,8 +508,7 @@ fbmmap(dev_t dev, vm_offset_t offset, int nprot)
}
#if experimental
-DEV_DRIVER_MODULE(fb, ???, fb_driver, fb_devclass,
- CDEV_MAJOR, NOMAJ, fb_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(fb, ???, fb_driver, fb_devclass, fb_cdevsw, 0, 0);
#endif
/*
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 36e5524..7b894a0 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -47,7 +47,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.146 1999/05/31 18:39:16 dfr Exp $
+ * $Id: fd.c,v 1.147 1999/06/26 02:46:52 mckusick Exp $
*
*/
@@ -2384,8 +2384,7 @@ static driver_t fd_driver = {
sizeof(struct fd_data)
};
-DEV_DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, CDEV_MAJOR, BDEV_MAJOR,
- fd_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(fd, fdc, fd_driver, fd_devclass, fd_cdevsw, 0, 0);
#endif /* NFDC > 0 */
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c
index c3c94f5..ed52ae2 100644
--- a/sys/dev/ida/ida_disk.c
+++ b/sys/dev/ida/ida_disk.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: ida_disk.c,v 1.1 1999/06/24 03:31:57 jlemon Exp $
*/
/*
@@ -327,5 +327,4 @@ idattach(device_t dev)
return (0);
}
-DEV_DRIVER_MODULE(id, ida, id_driver, id_devclass,
- ID_CDEV_MAJOR, ID_BDEV_MAJOR, id_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(id, ida, id_driver, id_devclass, id_cdevsw, 0, 0);
diff --git a/sys/dev/iicbus/iic.c b/sys/dev/iicbus/iic.c
index 4c27180..bb4ee16 100644
--- a/sys/dev/iicbus/iic.c
+++ b/sys/dev/iicbus/iic.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: iic.c,v 1.11 1999/05/30 16:51:28 phk Exp $
+ * $Id: iic.c,v 1.12 1999/05/31 11:24:43 phk Exp $
*
*/
#include <sys/param.h>
@@ -283,5 +283,4 @@ iicioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
return (error);
}
-DEV_DRIVER_MODULE(iic, iicbus, iic_driver, iic_devclass, CDEV_MAJOR,
- NOMAJ, iic_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(iic, iicbus, iic_driver, iic_devclass, iic_cdevsw, 0, 0);
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 3965789..cf3aa51 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sio.c,v 1.249 1999/06/20 13:10:09 peter Exp $
+ * $Id: sio.c,v 1.251 1999/06/29 17:34:16 yokota Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@@ -3197,5 +3197,4 @@ siopnp_attach(u_long csn, u_long vend_id, char *name, struct isa_device *dev)
}
#endif
-DEV_DRIVER_MODULE(sio, isa, sio_driver, sio_devclass,
- CDEV_MAJOR, NOMAJ, sio_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(sio, isa, sio_driver, sio_devclass, sio_cdevsw, 0, 0);
diff --git a/sys/dev/smbus/smb.c b/sys/dev/smbus/smb.c
index 5eed57e..e74094a 100644
--- a/sys/dev/smbus/smb.c
+++ b/sys/dev/smbus/smb.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: smb.c,v 1.12 1999/05/30 16:51:37 phk Exp $
+ * $Id: smb.c,v 1.13 1999/05/31 11:25:05 phk Exp $
*
*/
#include <sys/param.h>
@@ -276,5 +276,4 @@ smbioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
return (error);
}
-DEV_DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, CDEV_MAJOR, NOMAJ,
- smb_cdevsw, 0, 0);
+DEV_DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, smb_cdevsw, 0, 0);
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index f8de2f7..c62cc8a 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -1012,6 +1012,5 @@ ugen_detach(device_t self)
return 0;
}
-DEV_DRIVER_MODULE(ugen, uhub, ugen_driver, ugen_devclass,
- UGEN_CDEV_MAJOR, NOMAJ, ugen_cdevsw, usbd_driver_load, 0);
+DEV_DRIVER_MODULE(ugen, uhub, ugen_driver, ugen_devclass, ugen_cdevsw, usbd_driver_load, 0);
#endif
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c
index a6e65cb..f091594 100644
--- a/sys/dev/usb/uhid.c
+++ b/sys/dev/usb/uhid.c
@@ -577,6 +577,6 @@ uhidpoll(dev, events, p)
}
#if defined(__FreeBSD__)
-DEV_DRIVER_MODULE(uhid, uhub, uhid_driver, uhid_devclass,
- UHID_CDEV_MAJOR, NOMAJ, uhid_cdevsw, usbd_driver_load, 0);
+DEV_DRIVER_MODULE(uhid, uhub, uhid_driver, uhid_devclass,
+ uhid_cdevsw, usbd_driver_load, 0);
#endif
diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c
index fb6c30c..8a0005a 100644
--- a/sys/dev/usb/ulpt.c
+++ b/sys/dev/usb/ulpt.c
@@ -453,6 +453,5 @@ ulpt_detach(device_t self)
return 0;
}
-DEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass,
- ULPT_CDEV_MAJOR, NOMAJ, ulpt_cdevsw, usbd_driver_load, 0);
+DEV_DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass, ulpt_cdevsw, usbd_driver_load, 0);
#endif
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index c8ec14e..cb1bb8a 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -846,6 +846,6 @@ ums_ioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
#endif
#if defined(__FreeBSD__)
-DEV_DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass,
- UMS_CDEV_MAJOR, NOMAJ, ums_cdevsw, usbd_driver_load, 0);
+DEV_DRIVER_MODULE(ums, uhub, ums_driver, ums_devclass,
+ ums_cdevsw, usbd_driver_load, 0);
#endif
OpenPOWER on IntegriCloud