Use MAJOR_AUTO.

This commit is contained in:
Poul-Henning Kamp 2003-02-27 15:05:28 +00:00
parent e4de92ce2b
commit f85c6d3502
2 changed files with 1 additions and 3 deletions

View File

@ -111,7 +111,6 @@
91 vinum Volume manager
92 bktr Bt848 video capture driver (hasty@star-gate.com)
93 coda CODA filesystem.
94 loran Loran-C Receiver
95 md Memory Disk
96 altq alternate queueing (including cbq, red, wfq)
97 prom Alpha PROM console

View File

@ -621,7 +621,6 @@ struct isa_driver lorandriver = {
};
COMPAT_ISA_DRIVER(loran, lorandriver);
#define CDEV_MAJOR 94
static struct cdevsw loran_cdevsw = {
/* open */ loranopen,
/* close */ loranclose,
@ -632,7 +631,7 @@ static struct cdevsw loran_cdevsw = {
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "loran",
/* maj */ CDEV_MAJOR,
/* maj */ MAJOR_AUTO,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,