summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an_pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/an/if_an_pccard.c')
-rw-r--r--sys/dev/an/if_an_pccard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/an/if_an_pccard.c b/sys/dev/an/if_an_pccard.c
index cfcd4b1..551bad8 100644
--- a/sys/dev/an/if_an_pccard.c
+++ b/sys/dev/an/if_an_pccard.c
@@ -64,6 +64,11 @@
#include <net/if_dl.h>
#include <net/if_types.h>
+#ifndef lint
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
+
#include <dev/an/if_aironet_ieee.h>
#include <dev/an/if_anreg.h>
@@ -149,6 +154,7 @@ an_pccard_attach(device_t dev)
sc->an_bhandle = rman_get_bushandle(sc->port_res);
sc->an_btag = rman_get_bustag(sc->port_res);
+ sc->an_dev = dev;
error = an_attach(sc, device_get_unit(dev), flags);
return (error);
OpenPOWER on IntegriCloud