diff options
| author | Scott Long <scottl@FreeBSD.org> | 2004-02-14 23:18:58 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2004-02-14 23:18:58 +0000 |
| commit | 444dbd380291ea2b6d7f28035749408b3652e3ef (patch) | |
| tree | 09ff354227b44aacdcf25dc95385f0d57eba82db | |
| parent | a7c4d6e18c4bae06a7ebade3fd26fe0e8123cc56 (diff) | |
Notes
| -rw-r--r-- | sys/conf/majors | 1 | ||||
| -rw-r--r-- | sys/dev/iir/iir.h | 2 | ||||
| -rw-r--r-- | sys/dev/iir/iir_ctrl.c | 5 |
3 files changed, 1 insertions, 7 deletions
diff --git a/sys/conf/majors b/sys/conf/majors index 241e89f439f08..60c0727a43798 100644 --- a/sys/conf/majors +++ b/sys/conf/majors @@ -152,7 +152,6 @@ 161 swdoc Sitara networks watchdog device 162 *digi Digiboard 163 - - -164 *iir Intel Integrated RAID <boji.t.kannanthanam@intel.com> 166 *ciss Compaq SmartArray 5* adapter <msmith> 168 XXX used by pst in RELENG_4 170 pst Promise SuperTrak (uses 168 in RELENG_4) diff --git a/sys/dev/iir/iir.h b/sys/dev/iir/iir.h index 0f82277e3b3e4..5ce705d10a3da 100644 --- a/sys/dev/iir/iir.h +++ b/sys/dev/iir/iir.h @@ -50,8 +50,6 @@ #define IIR_DRIVER_VERSION 1 #define IIR_DRIVER_SUBVERSION 4 -#define IIR_CDEV_MAJOR 164 - /* OEM IDs */ #define OEM_ID_ICP 0x941c #define OEM_ID_INTEL 0x8000 diff --git a/sys/dev/iir/iir_ctrl.c b/sys/dev/iir/iir_ctrl.c index bcee81d0f824c..8417595ef427e 100644 --- a/sys/dev/iir/iir_ctrl.c +++ b/sys/dev/iir/iir_ctrl.c @@ -68,8 +68,6 @@ static d_write_t iir_write; static d_read_t iir_read; static d_ioctl_t iir_ioctl; -#define CDEV_MAJOR IIR_CDEV_MAJOR - /* Normally, this is a static structure. But we need it in pci/iir_pci.c */ static struct cdevsw iir_cdevsw = { .d_open = iir_open, @@ -78,7 +76,6 @@ static struct cdevsw iir_cdevsw = { .d_write = iir_write, .d_ioctl = iir_ioctl, .d_name = "iir", - .d_maj = CDEV_MAJOR, }; /* @@ -379,5 +376,5 @@ iir_drvinit(void *unused) } } -SYSINIT(iir_dev, SI_SUB_DRIVERS, SI_ORDER_MIDDLE + CDEV_MAJOR, iir_drvinit, NULL) +SYSINIT(iir_dev, SI_SUB_DRIVERS, SI_ORDER_MIDDLE, iir_drvinit, NULL) */ |
