From 01e2549e2b895e7ae9aa132b582d4f90a42941bd Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 6 Nov 2009 18:28:13 +0000 Subject: - 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 --- sys/dev/an/if_an.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/an/if_an.c') diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 7f8a2c2..0cbda3d 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -674,7 +674,7 @@ an_init_mpi350_desc(struct an_softc *sc) } int -an_attach(struct an_softc *sc, int unit, int flags) +an_attach(struct an_softc *sc, int flags) { struct ifnet *ifp; int error = EIO; -- cgit v1.1