summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2002-07-07 13:41:28 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2002-07-07 13:41:28 +0000
commite831405fc635aef33a187011ea7785a93f2ac79f (patch)
tree2e09fac8a44cc8ed44c70f7bc3917cd4fdd2dbe0 /sys
parentd5620d1884e65c389930a9f11af29a748385ad82 (diff)
better say we are OpenBSD in the configrom
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ieee1394/fwohci.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ieee1394/fwohci.c b/sys/dev/ieee1394/fwohci.c
index 3dabbcfe973..85ef5f66a98 100644
--- a/sys/dev/ieee1394/fwohci.c
+++ b/sys/dev/ieee1394/fwohci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fwohci.c,v 1.2 2002/06/26 15:52:13 tdeval Exp $ */
+/* $OpenBSD: fwohci.c,v 1.3 2002/07/07 13:41:27 tdeval Exp $ */
/* $NetBSD: fwohci.c,v 1.54 2002/03/29 05:06:42 jmc Exp $ */
/*-
@@ -2347,8 +2347,13 @@ fwohci_configrom_init(struct fwohci_softc *sc)
CFR_START_UNIT(&cfr, 2);
CFR_PUT_VALUE(&cfr, 0, 0); /* textual descriptor */
CFR_PUT_DATA1(&cfr, 0); /* minimal ASCII */
+#ifdef __NetBSD__
CFR_PUT_DATA4(&cfr, 'N', 'e', 't', 'B');
CFR_PUT_DATA4(&cfr, 'S', 'D', 0x00, 0x00);
+#else
+ CFR_PUT_DATA4(&cfr, 'O', 'p', 'e', 'n');
+ CFR_PUT_DATA4(&cfr, 'B', 'S', 'D', 0x00);
+#endif
CFR_END_UNIT(&cfr);
#ifdef INET