diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-04 19:14:05 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2001-09-04 19:14:05 +0000 |
commit | 030a273275212ab3819dc2ff5cc60b5187fedfc2 (patch) | |
tree | c56d3e58ea71c102adee71f0306fc26b9549f0bb | |
parent | 03e25b36e7c453a2c1da93d8bf297a0dd9b738f5 (diff) |
add xfs; jason@ ok
add tcx to MAKEDEV
-rw-r--r-- | etc/etc.sparc64/MAKEDEV | 20 | ||||
-rw-r--r-- | sys/arch/sparc64/sparc64/conf.c | 11 |
2 files changed, 22 insertions, 9 deletions
diff --git a/etc/etc.sparc64/MAKEDEV b/etc/etc.sparc64/MAKEDEV index 996d3437bc6..9fb09e97a75 100644 --- a/etc/etc.sparc64/MAKEDEV +++ b/etc/etc.sparc64/MAKEDEV @@ -1,7 +1,7 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.3 2001/09/04 18:53:36 todd Exp $ +# $OpenBSD: MAKEDEV,v 1.4 2001/09/04 19:14:04 todd Exp $ # # Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> # All rights reserved. @@ -61,21 +61,23 @@ # pty* set of 16 master and slave pseudo terminals # # Special purpose devices: +# ses* SES/SAF-TE SCSI devices # fd makes fd/* for the fdescfs # bwtwo* +# xfs* XFS filesystem devices # cgthree* +# ss* SCSI scanners +# uk* SCSI Unknown device +# audio* audio device # cgsix* -# cgfourteen* -# bpf* Berkeley Packet Filter # pf* Packet Filter # altq/ ALTQ control interface -# lkm loadable kernel modules interface -# audio* audio device +# cgfourteen* +# tcx* +# bpf* Berkeley Packet Filter # tun* network tunnel driver +# lkm loadable kernel modules interface # *random inkernal random data source -# uk* SCSI Unknown device -# ss* SCSI scanners -# ses* SES/SAF-TE SCSI devices # PATH=/sbin:/usr/sbin:/bin:/usr/bin T=$0 @@ -274,6 +276,7 @@ bwtwo*) M bwtwo$U c 27 $U 666;; cgthree*) M cgthree$U c 55 $U 666;; cgsix*) M cgsix$U c 67 $U 666;; cgfourteen*) M cgfourteen$U c 99 $U 666;; +tcx*) M tcx$U c 109 $U 666;; fd) RMlist="mkdir -p fd;$RMlist" n=0 @@ -354,6 +357,7 @@ ch*) M ch$U c 19 $U 660 operator;; lkm) M lkm c 112 0 640 kmem ;; +xfs*) M xfs$U c 51 $U 600;; *random) n=0 for pre in " " s u p a diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c index 510976c08c8..d5c92df50e6 100644 --- a/sys/arch/sparc64/sparc64/conf.c +++ b/sys/arch/sparc64/sparc64/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.5 2001/09/04 18:53:36 todd Exp $ */ +/* $OpenBSD: conf.c,v 1.6 2001/09/04 19:14:04 todd Exp $ */ /* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */ /* @@ -121,6 +121,11 @@ cdev_decl(pf); #include <altq/altqconf.h> +#ifdef XFS +#include <xfs/nxfs.h> +cdev_decl(xfs_dev); +#endif + struct bdevsw bdevsw[] = { bdev_notdef(), /* 0 */ @@ -205,7 +210,11 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 48 */ cdev_notdef(), /* 49 */ cdev_notdef(), /* 50 */ +#ifdef XFS + cdev_xfs_init(NXFS,xfs_dev), /* 51: xfs communication device */ +#else cdev_notdef(), /* 51 */ +#endif cdev_notdef(), /* 52 */ cdev_notdef(), /* 53 */ cdev_disk_init(NFD,fd), /* 54: floppy disk */ |