From 1e010686dab7b6189a30ef14511acf3131e20cab Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 26 Mar 2007 09:05:10 +0000 Subject: Give a hint that softc can contain many things besides ifp. --- sys/net/if_edsc.c | 5 +++++ 1 file changed, 5 insertions(+) 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. + */ }; /* -- cgit v1.1