From 03b5ef9526151c494c804bfdc890fb4596ca18c9 Mon Sep 17 00:00:00 2001 From: scottl Date: Sat, 14 Feb 2004 23:11:03 +0000 Subject: Remove the static major assignment for ips(4). Submitted by: phk, inspired by others. --- sys/conf/majors | 1 - sys/dev/ips/ips.c | 2 -- 2 files changed, 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 174 pciwd Berkshire Watchdog PCI -175 ips IBM/Adaptec ServeRAID (control device) 180 nvidia NVIDIA (nvidiaN/nvidiactl) 181 casm HP/Compaq ProLiant Advanced Server Management 183 *smapi SMAPI BIOS interface 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[] = { -- cgit v1.1