From 9b2be94dbc56f08c032f76636e4720837899d651 Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 26 Mar 2007 08:58:22 +0000 Subject: We no longer embed ifnet in softc, and the pointer to ifnet doesn't need to be first in softc now. (It was the whole ifnet structure itself that needed to be first in the good old days.) Fix the respective comment accordingly. Add xrefs to ifnet(9) in some other comments while I'm here. Pointed out by: thompsa --- sys/net/if_edsc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/net/if_edsc.c') diff --git a/sys/net/if_edsc.c b/sys/net/if_edsc.c index 51aca53..8863540 100644 --- a/sys/net/if_edsc.c +++ b/sys/net/if_edsc.c @@ -46,16 +46,16 @@ #include /* bpf(9) */ #include /* Ethernet related constants and types */ -#include /* basic network interface related things */ +#include /* basic part of ifnet(9) */ #include /* network interface cloning */ #include /* IFT_ETHER and friends */ -#include /* struct ifnet and other kernel-only stuff */ +#include /* kernel-only part of ifnet(9) */ /* - * Software configuration of an interface instance. + * Software configuration of an interface specific to this device type. */ struct edsc_softc { - struct ifnet *sc_ifp; /* must be first */ + struct ifnet *sc_ifp; /* ptr to generic interface configuration */ }; /* -- cgit v1.1