diff options
author | phk <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-09-25 18:24:47 +0000 |
commit | e9e05122106077f828fbbd0964036c22503d1633 (patch) | |
tree | a2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/dev/ppbus | |
parent | a0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff) | |
download | FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.zip FreeBSD-src-e9e05122106077f828fbbd0964036c22503d1633.tar.gz |
Remove five now unused fields from struct cdevsw. They should never
have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty drivers.
Add some missing FreeBSD tags
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r-- | sys/dev/ppbus/lpt.c | 5 | ||||
-rw-r--r-- | sys/dev/ppbus/ppi.c | 5 | ||||
-rw-r--r-- | sys/dev/ppbus/pps.c | 5 |
3 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c index 56312b4..7120321 100644 --- a/sys/dev/ppbus/lpt.c +++ b/sys/dev/ppbus/lpt.c @@ -203,19 +203,14 @@ static struct cdevsw lpt_cdevsw = { /* read */ lptread, /* write */ lptwrite, /* ioctl */ lptioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ nopoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ LPT_NAME, - /* parms */ noparms, /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, - /* maxio */ 0, /* bmaj */ -1 }; diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c index 0d8c970..c610e7f 100644 --- a/sys/dev/ppbus/ppi.c +++ b/sys/dev/ppbus/ppi.c @@ -97,19 +97,14 @@ static struct cdevsw ppi_cdevsw = { /* read */ ppiread, /* write */ ppiwrite, /* ioctl */ ppiioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ nopoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ "ppi", - /* parms */ noparms, /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, - /* maxio */ 0, /* bmaj */ -1 }; diff --git a/sys/dev/ppbus/pps.c b/sys/dev/ppbus/pps.c index 14204b1..1189c58 100644 --- a/sys/dev/ppbus/pps.c +++ b/sys/dev/ppbus/pps.c @@ -60,19 +60,14 @@ static struct cdevsw pps_cdevsw = { /* read */ noread, /* write */ nowrite, /* ioctl */ ppsioctl, - /* stop */ nostop, - /* reset */ noreset, - /* devtotty */ nodevtotty, /* poll */ nopoll, /* mmap */ nommap, /* strategy */ nostrategy, /* name */ PPS_NAME, - /* parms */ noparms, /* maj */ CDEV_MAJOR, /* dump */ nodump, /* psize */ nopsize, /* flags */ 0, - /* maxio */ 0, /* bmaj */ -1 }; |