1
0
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:
Warner Losh 2003-02-28 05:56:06 +00:00
parent 583d15a47e
commit 9cd41be1d0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111662
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,