summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2004-02-14 23:11:03 +0000
committerscottl <scottl@FreeBSD.org>2004-02-14 23:11:03 +0000
commit03b5ef9526151c494c804bfdc890fb4596ca18c9 (patch)
treed9f1e8115027633ef01a1d1b4bcc5315d81a5616
parentc8b12491b1b3ab3d58678a36759cea6a748bf940 (diff)
downloadFreeBSD-src-03b5ef9526151c494c804bfdc890fb4596ca18c9.zip
FreeBSD-src-03b5ef9526151c494c804bfdc890fb4596ca18c9.tar.gz
Remove the static major assignment for ips(4).
Submitted by: phk, inspired by others.
-rw-r--r--sys/conf/majors1
-rw-r--r--sys/dev/ips/ips.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/conf/majors b/sys/conf/majors
index c7e6d67..241e89f 100644
--- a/sys/conf/majors
+++ b/sys/conf/majors
@@ -160,7 +160,6 @@
172 mided LSI MegaRAID IDE (disk device)
173 *devctl Devd control device <imp>
174 pciwd Berkshire Watchdog PCI <marcel@progressix.com>
-175 ips IBM/Adaptec ServeRAID (control device)
180 nvidia NVIDIA (nvidiaN/nvidiactl) <mdodd>
181 casm HP/Compaq ProLiant Advanced Server Management <peter>
183 *smapi SMAPI BIOS interface <mdodd>
diff --git a/sys/dev/ips/ips.c b/sys/dev/ips/ips.c
index bc0a497..9b076d2 100644
--- a/sys/dev/ips/ips.c
+++ b/sys/dev/ips/ips.c
@@ -37,13 +37,11 @@ static d_open_t ips_open;
static d_close_t ips_close;
static d_ioctl_t ips_ioctl;
-#define IPS_CDEV_MAJOR 175
static struct cdevsw ips_cdevsw = {
.d_open = ips_open,
.d_close = ips_close,
.d_ioctl = ips_ioctl,
.d_name = "ips",
- .d_maj = IPS_CDEV_MAJOR,
};
static const char* ips_adapter_name[] = {
OpenPOWER on IntegriCloud