summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_devar.h
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 /sys/dev/pci/if_devar.h
parent4604fce4f4273095be62a838b2513c6dfdbdfe30 (diff)
Support BSD/OS 2.1, add OpenBSD tags.
Diffstat (limited to 'sys/dev/pci/if_devar.h')
-rw-r--r--sys/dev/pci/if_devar.h4
1 files changed, 4 insertions, 0 deletions
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