Use MAJOR_AUTO. GC statically assigned majors.

This commit is contained in:
Jake Burkholder 2003-02-28 04:21:13 +00:00
parent 82b65292eb
commit 3fb37429df
3 changed files with 2 additions and 8 deletions

View File

@ -165,7 +165,6 @@
165 net Network drivers <jlemon>
166 ciss Compaq SmartArray 5* adapter <msmith>
167 ufm USB Fm Radio
168 sab Siemens SAB82532 serial chip <jake>
168 XXX used by pst in RELENG_4
170 pst Promise SuperTrak (uses 168 in RELENG_4)
171 mide LSI MegaRAID IDE (control device)
@ -179,7 +178,6 @@
179 raid RAIDframe (disk device)
180 nvidia NVIDIA (nvidiaN/nvidiactl) <mdodd>
181 casm HP/Compaq ProLiant Advanced Server Management <peter>
182 zs Zilog 8350 serial chip <jake>
183 smapi SMAPI BIOS interface <mdodd>
200 ?? entries from 200-252 are reserved for local use
252 ?? entries from 200-252 are reserved for local use

View File

@ -68,8 +68,6 @@
#include <dev/sab/sab82532reg.h>
#define CDEV_MAJOR 168
#define SAB_READ(sc, r) \
bus_space_read_1((sc)->sc_bt, (sc)->sc_bh, (r))
#define SAB_WRITE(sc, r, v) \
@ -171,7 +169,7 @@ static struct cdevsw sabtty_cdevsw = {
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "sabtty",
/* major */ CDEV_MAJOR,
/* major */ MAJOR_AUTO,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,

View File

@ -99,8 +99,6 @@
#include <dev/zs/z8530reg.h>
#include <dev/zs/z8530var.h>
#define CDEV_MAJOR 182
#define ZS_READ(sc, r) \
bus_space_read_1((sc)->sc_bt, (r), 0)
#define ZS_WRITE(sc, r, v) \
@ -161,7 +159,7 @@ static struct cdevsw zstty_cdevsw = {
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "zstty",
/* major */ CDEV_MAJOR,
/* major */ MAJOR_AUTO,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,