summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-11-30 00:14:43 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-11-30 00:14:43 +0000
commitb0cacdf18b8a4eaf190bebbb1b8a87008747c6bc (patch)
tree14acb48164bab00d391f6cdabd74c4f35bd9f68a
parent37c9f54a93093c473e25ccd1741e4aa6d752415d (diff)
- Remove unused if_reset "bus reset routine" field in the ifnet struct.
- Add if_stop "stop routine" field in the ifnet struct. ok mglocker@
-rw-r--r--sys/net/if.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index c10cac4116b..4fe077e2458 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.99 2008/11/26 17:36:23 dlg Exp $ */
+/* $OpenBSD: if.h,v 1.100 2008/11/30 00:14:42 brad Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -227,8 +227,8 @@ struct ifnet { /* and the entries */
int (*if_ioctl)(struct ifnet *, u_long, caddr_t);
/* init routine */
int (*if_init)(struct ifnet *);
- /* XXX bus reset routine */
- int (*if_reset)(struct ifnet *);
+ /* stop routine */
+ int (*if_stop)(struct ifnet *, int);
/* timer routine */
void (*if_watchdog)(struct ifnet *);
struct ifaltq if_snd; /* output queue (includes altq) */