summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_anreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-06 14:52:37 +0000
committerjhb <jhb@FreeBSD.org>2009-11-06 14:52:37 +0000
commit711ffd5555051d0353132c19110a788a312e5fad (patch)
tree405feabf6b155b3619c54467a0316d713b9284ab /sys/dev/an/if_anreg.h
parentb70da1b82c95648ac8d733329f88612a12df93bb (diff)
downloadFreeBSD-src-711ffd5555051d0353132c19110a788a312e5fad.zip
FreeBSD-src-711ffd5555051d0353132c19110a788a312e5fad.tar.gz
Use device_printf() and if_printf() instead of printf() with an explicit
unit number and remove 'unit' members from softc.
Diffstat (limited to 'sys/dev/an/if_anreg.h')
-rw-r--r--sys/dev/an/if_anreg.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index ec0ad2b..3378d2c 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -442,8 +442,6 @@ struct an_tx_ring_data {
struct an_softc {
struct ifnet *an_ifp;
- int an_unit;
-
int port_rid; /* resource id for port range */
struct resource* port_res; /* resource for port range */
int mem_rid; /* resource id for memory range */
OpenPOWER on IntegriCloud