mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
pccard isn't picky about WHAT major it gets.
This commit is contained in:
parent
583d15a47e
commit
9cd41be1d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111662
@ -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 New Issue
Block a user