mirror of
https://github.com/opnsense/src.git
synced 2026-04-21 06:07:31 -04:00
pccard isn't picky about WHAT major it gets.
This commit is contained in:
parent
583d15a47e
commit
9cd41be1d0
2 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,6 @@
|
|||
46 - -
|
||||
47 gsc Genius Scanner
|
||||
48 cy Cyclades
|
||||
50 card pcmcia cards
|
||||
51 joy joystick
|
||||
52 tun IP tunnel device
|
||||
53 snp tty snoop
|
||||
|
|
|
|||
|
|
@ -78,7 +78,11 @@ static d_write_t crdwrite;
|
|||
static d_ioctl_t crdioctl;
|
||||
static d_poll_t crdpoll;
|
||||
|
||||
#if __FreeBSD_version < 500000
|
||||
#define CDEV_MAJOR 50
|
||||
#else
|
||||
#define CDEV_MAJOR MAJOR_AUTO
|
||||
#endif
|
||||
static struct cdevsw crd_cdevsw = {
|
||||
/* open */ crdopen,
|
||||
/* close */ crdclose,
|
||||
|
|
|
|||
Loading…
Reference in a new issue