summaryrefslogtreecommitdiffstats
path: root/sys/net/if_edsc.c
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-03-26 09:05:10 +0000
committeryar <yar@FreeBSD.org>2007-03-26 09:05:10 +0000
commit1e010686dab7b6189a30ef14511acf3131e20cab (patch)
tree154029226fd83b20b1d5f5bfa2edd65f459161b9 /sys/net/if_edsc.c
parent81eac4c7f0f3f91fd02a0c66295b715e72759166 (diff)
downloadFreeBSD-src-1e010686dab7b6189a30ef14511acf3131e20cab.zip
FreeBSD-src-1e010686dab7b6189a30ef14511acf3131e20cab.tar.gz
Give a hint that softc can contain many things besides ifp.
Diffstat (limited to 'sys/net/if_edsc.c')
-rw-r--r--sys/net/if_edsc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if_edsc.c b/sys/net/if_edsc.c
index 8863540..82b1485 100644
--- a/sys/net/if_edsc.c
+++ b/sys/net/if_edsc.c
@@ -56,6 +56,11 @@
*/
struct edsc_softc {
struct ifnet *sc_ifp; /* ptr to generic interface configuration */
+
+ /*
+ * A non-null driver can keep various things here, for instance,
+ * the hardware revision, cached values of write-only registers, etc.
+ */
};
/*
OpenPOWER on IntegriCloud