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
This commit is contained in:
Yaroslav Tykhiy 2007-03-26 08:58:22 +00:00
parent 43888ab17c
commit a052cba9e2

View File

@ -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 */
};
/*