1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Remove the static major assignment for iir(4).

Submitted by:	phk (partially)
This commit is contained in:
Scott Long 2004-02-14 23:18:58 +00:00
parent a7c4d6e18c
commit 444dbd3802
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125834
3 changed files with 1 additions and 7 deletions

View File

@ -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)

View File

@ -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

View File

@ -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)
*/