aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/si.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
commitd6a0e38a1bffb551c7a3159a072a0ac3b30abccb (patch)
tree6fd058e379c30c9846c02d23271af0842114b5d1 /sys/i386/isa/si.c
parent784733e9ecb7b3cbb1655b9026841f7bcbcba164 (diff)
downloadsrc-d6a0e38a1bffb551c7a3159a072a0ac3b30abccb.tar.gz
src-d6a0e38a1bffb551c7a3159a072a0ac3b30abccb.zip
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
Notes
Notes: svn path=/head/; revision=51658
Diffstat (limited to 'sys/i386/isa/si.c')
-rw-r--r--sys/i386/isa/si.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c
index a1cde6e3d924..79097caaa543 100644
--- a/sys/i386/isa/si.c
+++ b/sys/i386/isa/si.c
@@ -180,19 +180,14 @@ static struct cdevsw si_cdevsw = {
/* read */ siread,
/* write */ siwrite,
/* ioctl */ siioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ ttypoll,
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "si",
- /* parms */ noparms,
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
- /* maxio */ 0,
/* bmaj */ -1
};