pccard isn't picky about WHAT major it gets.

This commit is contained in:
Warner Losh 2003-02-28 05:56:06 +00:00
parent 583d15a47e
commit 9cd41be1d0
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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,