Include the bmaj entry in the cdevsw for versions of FreeBSD that need it.
This commit is contained in:
parent
2ffd2d012a
commit
2ff4d14a63
@ -144,6 +144,9 @@ static struct cdevsw ucom_cdevsw = {
|
||||
/* dump */ nodump,
|
||||
/* psize */ nopsize,
|
||||
/* flags */ D_TTY | D_KQFILTER,
|
||||
#if __FreeBSD_version < 500014
|
||||
/* bmaj */ -1,
|
||||
#endif
|
||||
/* kqfilter */ ttykqfilter,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user