aboutsummaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2007-03-26 08:58:22 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2007-03-26 08:58:22 +0000
commita052cba9e2bbd07f86d7b022f0b9b95cdb71a577 (patch)
tree376a625cdf2b1ea5d5e53b8c2f2945869e0a8c24 /sys/net
parent43888ab17cc4ba9741f67a997aa4e7fa348ec757 (diff)
downloadsrc-a052cba9e2bbd07f86d7b022f0b9b95cdb71a577.tar.gz
src-a052cba9e2bbd07f86d7b022f0b9b95cdb71a577.zip
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
Notes
Notes: svn path=/head/; revision=167894
Diffstat (limited to 'sys/net')
-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 51aca53dde88..8863540dac96 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 */
};
/*