From a052cba9e2bbd07f86d7b022f0b9b95cdb71a577 Mon Sep 17 00:00:00 2001 From: Yaroslav Tykhiy Date: Mon, 26 Mar 2007 08:58:22 +0000 Subject: [PATCH] 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(-) diff --git a/sys/net/if_edsc.c b/sys/net/if_edsc.c index 51aca53dde88..8863540dac96 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 */ }; /*