summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-07-29 19:31:50 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-07-29 19:31:50 +0000
commite3e6c7f0b645aeb455db9e095b1b54338a7ac975 (patch)
treee0400a23bbb9ac1f6a80a7ad75b2f22b9869c66b
parent4604fce4f4273095be62a838b2513c6dfdbdfe30 (diff)
Support BSD/OS 2.1, add OpenBSD tags.
-rw-r--r--sys/dev/ic/dc21040reg.h1
-rw-r--r--sys/dev/pci/if_de.c1
-rw-r--r--sys/dev/pci/if_devar.h4
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ic/dc21040reg.h b/sys/dev/ic/dc21040reg.h
index d31a523f0bd..5a9de000a30 100644
--- a/sys/dev/ic/dc21040reg.h
+++ b/sys/dev/ic/dc21040reg.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: dc21040reg.h,v 1.5 1997/07/29 19:31:49 downsj Exp $ */
/* $NetBSD: dc21040reg.h,v 1.11 1997/06/08 18:44:02 thorpej Exp $ */
/*-
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 08bf2a89f57..cba24f82247 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: if_de.c,v 1.23 1997/07/29 19:31:45 downsj Exp $ */
/* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */
/*-
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h
index 5f41da57555..ae1be03a699 100644
--- a/sys/dev/pci/if_devar.h
+++ b/sys/dev/pci/if_devar.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: if_devar.h,v 1.2 1997/07/29 19:31:47 downsj Exp $ */
/* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */
/*-
@@ -845,6 +846,9 @@ extern struct cfdriver decd;
#define loudprintf aprint_verbose
#define printf (*sc->tulip_pf)
#define MCNT(x) (sizeof(x) / sizeof(struct ifmedia_entry))
+#if (_BSD_VERSION == 199510)
+#define TULIP_ETHER_IFATTACH(sc) ether_attach(&(sc)->tulip_if)
+#endif
#elif _BSDI_VERSION <= 199401
#define DRQNONE 0
#define loudprintf printf