diff options
author | imp <imp@FreeBSD.org> | 2007-06-13 05:37:59 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2007-06-13 05:37:59 +0000 |
commit | 6e9a4786383ec10525b313b3ce1907287577859e (patch) | |
tree | fa8f5e72ce0493223798a63d12b2964b602aaa17 /sys/dev/usb/if_axe.c | |
parent | ca1df96c1a9664f95b9ecb36fac419db0b745b4c (diff) | |
download | FreeBSD-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.c | 6 |
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]; |