Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mipsco/mipsco Add lpt device



details:   https://anonhg.NetBSD.org/src/rev/b84dbaec37c3
branches:  trunk
changeset: 514964:b84dbaec37c3
user:      wdk <wdk%NetBSD.org@localhost>
date:      Sat Sep 15 01:11:02 2001 +0000

description:
Add lpt device

diffstat:

 sys/arch/mipsco/mipsco/conf.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 078c71ca8cc1 -r b84dbaec37c3 sys/arch/mipsco/mipsco/conf.c
--- a/sys/arch/mipsco/mipsco/conf.c     Sat Sep 15 01:10:09 2001 +0000
+++ b/sys/arch/mipsco/mipsco/conf.c     Sat Sep 15 01:11:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.3 2001/03/30 23:54:45 wdk Exp $     */
+/*     $NetBSD: conf.c,v 1.4 2001/09/15 01:11:02 wdk Exp $     */
 
 /*
  * Copyright (c) 1992, 1993
@@ -59,7 +59,10 @@
 #include "raid.h"
 #include "fd.h"
 #include "com.h"
+#include "lpt.h"
+
 cdev_decl(com);
+cdev_decl(lpt);
 
 struct bdevsw  bdevsw[] =
 {
@@ -138,7 +141,7 @@
        cdev_notdef(),                  /* 14: frame buffer */
        cdev_tty_init(NCOM,com),        /* 15: serial port */
        cdev_tape_init(NST,st),         /* 16: SCSI tape */
-       cdev_notdef(),                  /* 17: lbp */
+       cdev_lpt_init(NLPT,lpt),        /* 17: parallel printer */
        cdev_notdef(),                  /* 18: ir */
        cdev_notdef(),                  /* 19: vme */
        cdev_notdef(),                  /* 20: gpib */



Home | Main Index | Thread Index | Old Index