Be more specific about when block major numbers disappeared from
the cdev switch.
This commit is contained in:
parent
fbe63bf2bb
commit
be036866cf
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user