Use MAJOR_AUTO.
This commit is contained in:
parent
e4de92ce2b
commit
f85c6d3502
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user