summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/lpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/lpt.c')
-rw-r--r--sys/i386/isa/lpt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/isa/lpt.c b/sys/i386/isa/lpt.c
index d9e1592..a2907cf 100644
--- a/sys/i386/isa/lpt.c
+++ b/sys/i386/isa/lpt.c
@@ -46,7 +46,7 @@
* SUCH DAMAGE.
*
* from: unknown origin, 386BSD 0.1
- * $Id: lpt.c,v 1.69 1998/06/07 17:10:44 dfr Exp $
+ * $Id: lpt.c,v 1.70 1998/08/17 01:05:23 bde Exp $
*/
/*
@@ -259,6 +259,7 @@ static struct lpt_softc {
static timeout_t lptout;
static int lptprobe (struct isa_device *dvp);
static int lptattach (struct isa_device *isdp);
+static ointhand2_t lptintr;
#ifdef INET
@@ -422,6 +423,7 @@ lptattach(struct isa_device *isdp)
struct lpt_softc *sc;
int unit;
+ isdp->id_ointr = lptintr;
unit = isdp->id_unit;
sc = lpt_sc + unit;
sc->sc_port = isdp->id_iobase;
@@ -749,7 +751,7 @@ lptwrite(dev_t dev, struct uio * uio, int ioflag)
* do checking for interrupted write call.
*/
-void
+static void
lptintr(int unit)
{
struct lpt_softc *sc = lpt_sc + unit;
OpenPOWER on IntegriCloud