summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/if_plip.c
diff options
context:
space:
mode:
authornsouch <nsouch@FreeBSD.org>1999-02-14 12:00:00 +0000
committernsouch <nsouch@FreeBSD.org>1999-02-14 12:00:00 +0000
commit13c212a1180252f7cd682509310a8699cf77b583 (patch)
treed56014e3c8a8fe755b89d4a4701cb579d08c233e /sys/dev/ppbus/if_plip.c
parentc9385fa2e56ab925d4479161ae983da6de7a556f (diff)
downloadFreeBSD-src-13c212a1180252f7cd682509310a8699cf77b583.zip
FreeBSD-src-13c212a1180252f7cd682509310a8699cf77b583.tar.gz
Rename nlpt to lpt.
Remove from ppi.c the old depreciated module stuff. Print info when if_plip can't use interrupts.
Diffstat (limited to 'sys/dev/ppbus/if_plip.c')
-rw-r--r--sys/dev/ppbus/if_plip.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index b9e767e..488b461 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*
* From Id: lpt.c,v 1.55.2.1 1996/11/12 09:08:38 phk Exp
- * $Id: if_plip.c,v 1.9 1999/01/30 15:35:39 nsouch Exp $
+ * $Id: if_plip.c,v 1.10 1999/02/08 14:12:38 des Exp $
*/
/*
@@ -99,7 +99,7 @@
#endif
#include <dev/ppbus/ppbconf.h>
-#include <dev/ppbus/nlpt.h>
+#include <dev/ppbus/lpt.h>
#include "opt_plip.h"
@@ -194,8 +194,10 @@ lpprobe(struct ppb_data *ppb)
struct lpt_softc *lp;
/* if we haven't interrupts, the probe fails */
- if (!ppb->ppb_link->id_irq)
+ if (!ppb->ppb_link->id_irq) {
+ printf("plip: not an interrupt driven port, failed.\n");
return (0);
+ }
lp = (struct lpt_softc *) malloc(sizeof(struct lpt_softc),
M_TEMP, M_NOWAIT);
OpenPOWER on IntegriCloud