Remove the static major assignment for iir(4).
Submitted by: phk (partially)
This commit is contained in:
parent
23f6d117ca
commit
caaedcb536
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user