summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/olpt.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-01-04 04:46:50 +0000
committernyan <nyan@FreeBSD.org>2000-01-04 04:46:50 +0000
commitf47c71d76ed60c3944fd2bb9b0484b81daddfc5c (patch)
tree0b0bd1c0cf25b8524e7498c2069b481d730510f0 /sys/pc98/cbus/olpt.c
parent5cb4a01018c0a72d320cb916b61e0253f1b638ce (diff)
downloadFreeBSD-src-f47c71d76ed60c3944fd2bb9b0484b81daddfc5c.zip
FreeBSD-src-f47c71d76ed60c3944fd2bb9b0484b81daddfc5c.tar.gz
- Fixed warnings.
- Removed unnecessary include files.
Diffstat (limited to 'sys/pc98/cbus/olpt.c')
-rw-r--r--sys/pc98/cbus/olpt.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/pc98/cbus/olpt.c b/sys/pc98/cbus/olpt.c
index c666990..43ce718 100644
--- a/sys/pc98/cbus/olpt.c
+++ b/sys/pc98/cbus/olpt.c
@@ -117,15 +117,6 @@
#include <machine/clock.h>
#include <machine/lpt.h>
-#include <vm/vm.h>
-#include <vm/vm_param.h>
-#include <vm/pmap.h>
-
-#ifdef PC98
-#include <pc98/pc98/pc98.h>
-#else
-#include <i386/isa/isa.h>
-#endif
#include <i386/isa/isa_device.h>
#include <i386/isa/lptreg.h>
@@ -814,7 +805,9 @@ lptwrite(dev_t dev, struct uio * uio, int ioflag)
static void
lptintr(int unit)
{
+#if defined(INET) || !defined(PC98)
struct lpt_softc *sc = lpt_sc + unit;
+#endif
#ifndef PC98
int port = sc->sc_port, sts;
int i;
OpenPOWER on IntegriCloud