From b0cacdf18b8a4eaf190bebbb1b8a87008747c6bc Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 30 Nov 2008 00:14:43 +0000 Subject: - Remove unused if_reset "bus reset routine" field in the ifnet struct. - Add if_stop "stop routine" field in the ifnet struct. ok mglocker@ --- sys/net/if.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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) */ -- cgit v1.2.3