diff options
author | julian <julian@FreeBSD.org> | 1995-09-08 19:01:28 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1995-09-08 19:01:28 +0000 |
commit | deb6d1f0a38df1a4df23584a606d967640e5437d (patch) | |
tree | 97f00c3d813e4d8d8b73c820856d9b34dfa0c5e1 /sys/i386/isa/asc.c | |
parent | 6297fbb4859f77630f3c8fea151d637a28c59d14 (diff) | |
download | FreeBSD-src-deb6d1f0a38df1a4df23584a606d967640e5437d.zip FreeBSD-src-deb6d1f0a38df1a4df23584a606d967640e5437d.tar.gz |
Added devfs nodes for other devices.. (didn't read the docs correctly)
Diffstat (limited to 'sys/i386/isa/asc.c')
-rw-r--r-- | sys/i386/isa/asc.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c index 359b8c8..4e994d9 100644 --- a/sys/i386/isa/asc.c +++ b/sys/i386/isa/asc.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * $Id:$ + * $Id: asc.c,v 1.4 1995/09/08 18:30:33 julian Exp $ */ #include "asc.h" @@ -473,6 +473,15 @@ ascattach(struct isa_device *isdp) sprintf(buf,"asc%d",unit); /* path name devsw minor type uid gid perm*/ x=dev_add("/misc", buf, ascopen, unit<<6, DV_CHR, 0, 0, 0666); + sprintf(buf,"asc%dp",unit); + x=dev_add("/misc", buf, ascopen, ((unit<<6) + FRMT_PBM), + DV_CHR, 0, 0, 0666); + sprintf(buf,"asc%dd",unit); + x=dev_add("/misc", buf, ascopen, ((unit<<6) + DBUG_MASK), + DV_CHR, 0, 0, 0666); + sprintf(buf,"asc%dpd",unit); + x=dev_add("/misc", buf, ascopen, ((unit<<6) + DBUG_MASK + FRMT_PBM), + DV_CHR, 0, 0, 0666); #endif /*DEVFS*/ return 1; /* attach must not fail */ } |