summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_devar.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-09-06 16:03:41 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-09-06 16:03:41 +0000
commitbed27cd0d7234df826b757ff6be3067a7d50de62 (patch)
treebfdc52b4bae0f7e9a3ef8c8b928d1e561037c260 /sys/dev/pci/if_devar.h
parentf4ce913e8b2de04074b2d975d2e446693b0a23e0 (diff)
- fix up the ioctl handler and make it use ether_ioctl() too
- remove more unused code - remove some of the macros to make this more readable ok krw@
Diffstat (limited to 'sys/dev/pci/if_devar.h')
-rw-r--r--sys/dev/pci/if_devar.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_devar.h b/sys/dev/pci/if_devar.h
index dd0bd4d7da3..7c43caf52ed 100644
--- a/sys/dev/pci/if_devar.h
+++ b/sys/dev/pci/if_devar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_devar.h,v 1.19 2005/09/06 00:41:41 brad Exp $ */
+/* $OpenBSD: if_devar.h,v 1.20 2005/09/06 16:03:40 brad Exp $ */
/* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */
/*-
@@ -824,10 +824,6 @@ extern struct cfdriver de_cd;
#define tulip_enaddr tulip_ac.ac_enaddr
#define tulip_multicnt tulip_ac.ac_multicnt
-#define TULIP_ETHERCOM(sc) (&(sc)->tulip_ac)
-#define TULIP_ARP_IFINIT(sc, ifa) arp_ifinit(TULIP_ETHERCOM(sc), (ifa))
-#define TULIP_ETHER_IFATTACH(sc) ether_ifattach(&(sc)->tulip_if)
-
#define tulip_bpf tulip_if.if_bpf
#define tulip_intrfunc_t int