summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2009-01-12 23:05:07 +0000
committerkettenis <kettenis@openbsd.org>2009-01-12 23:05:07 +0000
commitd75e21f7aed6b8872593b2acbe9a0298a082a735 (patch)
treef6344ef1cbacb413d7c71ccff919e6dcf1fbf84a
parentLook up the "compatible" property of the right node to detect serial (diff)
downloadwireguard-openbsd-d75e21f7aed6b8872593b2acbe9a0298a082a735.tar.xz
wireguard-openbsd-d75e21f7aed6b8872593b2acbe9a0298a082a735.zip
A storage driver should be DV_DULL, not DV_IFNET. Pointed out by dlg@.
-rw-r--r--sys/arch/sparc64/dev/vdsk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c
index 8e4860b6264..232ee51b52c 100644
--- a/sys/arch/sparc64/dev/vdsk.c
+++ b/sys/arch/sparc64/dev/vdsk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsk.c,v 1.1 2009/01/12 20:11:13 kettenis Exp $ */
+/* $OpenBSD: vdsk.c,v 1.2 2009/01/12 23:05:07 kettenis Exp $ */
/*
* Copyright (c) 2009 Mark Kettenis
*
@@ -161,7 +161,7 @@ struct cfattach vdsk_ca = {
};
struct cfdriver vdsk_cd = {
- NULL, "vdsk", DV_IFNET
+ NULL, "vdsk", DV_DULL
};
struct scsi_device vdsk_device = {