Be more specific about when block major numbers disappeared from

the cdev switch.
This commit is contained in:
Josef Karthauser 2002-03-11 16:22:15 +00:00
parent fbe63bf2bb
commit be036866cf
9 changed files with 9 additions and 9 deletions

View File

@ -97,7 +97,7 @@ Static struct cdevsw ufm_cdevsw = {
ufmioctl, nopoll, nommap, nostrategy,
"ufm", UFM_CDEV_MAJOR, nodump, nopsize,
0,
#if (__FreeBSD_version < 500000)
#if (__FreeBSD_version < 500014)
-1
#endif
};

View File

@ -147,7 +147,7 @@ Static struct cdevsw ugen_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1
#endif
};

View File

@ -154,7 +154,7 @@ Static struct cdevsw uhid_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1
#endif
};

View File

@ -146,7 +146,7 @@ Static struct cdevsw ulpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1
#endif
};

View File

@ -172,7 +172,7 @@ static struct cdevsw umodem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1,
#endif
/* kqfilter */ ttykqfilter,

View File

@ -158,7 +158,7 @@ Static struct cdevsw ums_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1
#endif
};

View File

@ -125,7 +125,7 @@ Static struct cdevsw urio_cdevsw = {
urioioctl, nopoll, nommap, nostrategy,
"urio", URIO_CDEV_MAJOR,nodump, nopsize,
0,
#if (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
-1
#endif
};

View File

@ -145,7 +145,7 @@ struct cdevsw usb_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1
#endif
};

View File

@ -253,7 +253,7 @@ Static struct cdevsw uscanner_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
#if !defined(__FreeBSD__) || (__FreeBSD__ < 5)
#if __FreeBSD_version < 500014
/* bmaj */ -1
#endif
};