summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/conf.c11
1 files changed, 10 insertions, 1 deletions
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 */