summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/if_axe.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-06-13 05:37:59 +0000
committerimp <imp@FreeBSD.org>2007-06-13 05:37:59 +0000
commit6e9a4786383ec10525b313b3ce1907287577859e (patch)
treefa8f5e72ce0493223798a63d12b2964b602aaa17 /sys/dev/usb/if_axe.c
parentca1df96c1a9664f95b9ecb36fac419db0b745b4c (diff)
downloadFreeBSD-src-6e9a4786383ec10525b313b3ce1907287577859e.zip
FreeBSD-src-6e9a4786383ec10525b313b3ce1907287577859e.tar.gz
Expand USB_DETACH, USB_ATTACH and USB_MATCH inline. No functional
change, and MD5's appear to be the same.
Diffstat (limited to 'sys/dev/usb/if_axe.c')
-rw-r--r--sys/dev/usb/if_axe.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index ceb5edf..32e6099 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -379,7 +379,8 @@ axe_reset(struct axe_softc *sc)
/*
* Probe for a AX88172 chip.
*/
-USB_MATCH(axe)
+static int
+axe_match(device_t self)
{
USB_MATCH_START(axe, uaa);
struct axe_type *t;
@@ -403,7 +404,8 @@ USB_MATCH(axe)
* Attach the interface. Allocate softc structures, do ifmedia
* setup and ethernet/BPF attach.
*/
-USB_ATTACH(axe)
+static int
+axe_attach(device_t self)
{
USB_ATTACH_START(axe, sc, uaa);
u_char eaddr[ETHER_ADDR_LEN];
OpenPOWER on IntegriCloud