1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92094
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
};