summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
committerphk <phk@FreeBSD.org>1999-09-25 18:24:47 +0000
commite9e05122106077f828fbbd0964036c22503d1633 (patch)
treea2c7d461d93e3013c84a30e06340b510ec96aaa9 /sys/pci
parenta0c34c5a2300c81f85c92ac6327b1d2ad3a56a77 (diff)
downloadFreeBSD-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/pci')
-rw-r--r--sys/pci/meteor.c5
-rw-r--r--sys/pci/pci.c5
-rw-r--r--sys/pci/xrpu.c5
3 files changed, 0 insertions, 15 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index f306cc2..de0deea 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -226,19 +226,14 @@ static struct cdevsw meteor_cdevsw = {
/* read */ meteor_read,
/* write */ meteor_write,
/* ioctl */ meteor_ioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ nopoll,
/* mmap */ meteor_mmap,
/* strategy */ nostrategy,
/* name */ "meteor",
- /* parms */ noparms,
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* maxio */ 0,
/* bmaj */ -1
};
#endif
diff --git a/sys/pci/pci.c b/sys/pci/pci.c
index 3792940..a8502bc 100644
--- a/sys/pci/pci.c
+++ b/sys/pci/pci.c
@@ -896,19 +896,14 @@ static struct cdevsw pcicdev = {
/* read */ noread,
/* write */ nowrite,
/* ioctl */ pci_ioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ nopoll,
/* mmap */ nommap,
/* strategy */ nostrategy,
/* name */ "pci",
- /* parms */ noparms,
/* maj */ PCI_CDEV,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* maxio */ 0,
/* bmaj */ -1
};
diff --git a/sys/pci/xrpu.c b/sys/pci/xrpu.c
index 1b56e6b..79d84dc 100644
--- a/sys/pci/xrpu.c
+++ b/sys/pci/xrpu.c
@@ -50,19 +50,14 @@ static struct cdevsw xrpu_cdevsw = {
/* read */ noread,
/* write */ nowrite,
/* ioctl */ xrpu_ioctl,
- /* stop */ nostop,
- /* reset */ noreset,
- /* devtotty */ nodevtotty,
/* poll */ nopoll,
/* mmap */ xrpu_mmap,
/* strategy */ nostrategy,
/* name */ "xrpu",
- /* parms */ noparms,
/* maj */ CDEV_MAJOR,
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
- /* maxio */ 0,
/* bmaj */ -1
};
OpenPOWER on IntegriCloud