summaryrefslogtreecommitdiff
path: root/sys/dev/an/if_an_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/an/if_an_pci.c')
-rw-r--r--sys/dev/an/if_an_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c
index cab379f2d6b7..22a0443ebdb2 100644
--- a/sys/dev/an/if_an_pci.c
+++ b/sys/dev/an/if_an_pci.c
@@ -181,6 +181,7 @@ static int an_attach_pci(dev)
goto fail;
}
+ sc->an_dev = dev;
error = an_attach(sc, device_get_unit(dev), flags);
fail: