summaryrefslogtreecommitdiffstats
path: root/sys/net/if_edsc.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-03-26 08:58:22 +0000
committeryar <yar@FreeBSD.org>2007-03-26 08:58:22 +0000
commit9b2be94dbc56f08c032f76636e4720837899d651 (patch)
tree376a625cdf2b1ea5d5e53b8c2f2945869e0a8c24 /sys/net/if_edsc.c
parent654caeefc25851a5b4581e8eb07ee975dc7fdf7d (diff)
downloadFreeBSD-src-9b2be94dbc56f08c032f76636e4720837899d651.zip
FreeBSD-src-9b2be94dbc56f08c032f76636e4720837899d651.tar.gz
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
Diffstat (limited to 'sys/net/if_edsc.c')
-rw-r--r--sys/net/if_edsc.c8
1 files changed, 4 insertions, 4 deletions
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 <net/bpf.h> /* bpf(9) */
#include <net/ethernet.h> /* Ethernet related constants and types */
-#include <net/if.h> /* basic network interface related things */
+#include <net/if.h> /* basic part of ifnet(9) */
#include <net/if_clone.h> /* network interface cloning */
#include <net/if_types.h> /* IFT_ETHER and friends */
-#include <net/if_var.h> /* struct ifnet and other kernel-only stuff */
+#include <net/if_var.h> /* 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 */
};
/*
OpenPOWER on IntegriCloud