summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_anreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-11-06 18:28:13 +0000
committerjhb <jhb@FreeBSD.org>2009-11-06 18:28:13 +0000
commit01e2549e2b895e7ae9aa132b582d4f90a42941bd (patch)
treedb0de72f98b46000531c78281aaa2bc3d8dc6e78 /sys/dev/an/if_anreg.h
parent8bc39a4def19aa3f191084d882a70ad64dcb33c1 (diff)
downloadFreeBSD-src-01e2549e2b895e7ae9aa132b582d4f90a42941bd.zip
FreeBSD-src-01e2549e2b895e7ae9aa132b582d4f90a42941bd.tar.gz
- Use device_printf() instead of printf() with an explicit unit number
in the PCI attach routine. - Simplify PCI probe. - Remove no-longer-used 'unit' from an_attach() parameters. PR: kern/126924 Submitted by: gavin
Diffstat (limited to 'sys/dev/an/if_anreg.h')
-rw-r--r--sys/dev/an/if_anreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_anreg.h b/sys/dev/an/if_anreg.h
index 3378d2c..7b1484c 100644
--- a/sys/dev/an/if_anreg.h
+++ b/sys/dev/an/if_anreg.h
@@ -511,7 +511,7 @@ int an_pci_probe (device_t);
int an_probe (device_t);
int an_shutdown (device_t);
void an_resume (device_t);
-int an_attach (struct an_softc *, int, int);
+int an_attach (struct an_softc *, int);
int an_detach (device_t);
void an_stop (struct an_softc *);
OpenPOWER on IntegriCloud