diff options
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pccard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c index 1baabf4..8c6397c 100644 --- a/sys/pccard/pccard.c +++ b/sys/pccard/pccard.c @@ -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, |