Deleted Added
full compact
if_axe.c (207077) if_axe.c (212122)
1/*-
2 * Copyright (c) 1997, 1998, 1999, 2000-2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1997, 1998, 1999, 2000-2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/dev/usb/net/if_axe.c 207077 2010-04-22 21:31:34Z thompsa $");
34__FBSDID("$FreeBSD: head/sys/dev/usb/net/if_axe.c 212122 2010-09-01 23:47:53Z thompsa $");
35
36/*
37 * ASIX Electronics AX88172/AX88178/AX88778 USB 2.0 ethernet driver.
38 * Used in the LinkSys USB200M and various other adapters.
39 *
40 * Manuals available from:
41 * http://www.asix.com.tw/datasheet/mac/Ax88172.PDF
42 * Note: you need the manual for the AX88170 chip (USB 1.x ethernet

--- 208 unchanged lines hidden (view full) ---

251static devclass_t axe_devclass;
252
253DRIVER_MODULE(axe, uhub, axe_driver, axe_devclass, NULL, 0);
254DRIVER_MODULE(miibus, axe, miibus_driver, miibus_devclass, 0, 0);
255MODULE_DEPEND(axe, uether, 1, 1, 1);
256MODULE_DEPEND(axe, usb, 1, 1, 1);
257MODULE_DEPEND(axe, ether, 1, 1, 1);
258MODULE_DEPEND(axe, miibus, 1, 1, 1);
35
36/*
37 * ASIX Electronics AX88172/AX88178/AX88778 USB 2.0 ethernet driver.
38 * Used in the LinkSys USB200M and various other adapters.
39 *
40 * Manuals available from:
41 * http://www.asix.com.tw/datasheet/mac/Ax88172.PDF
42 * Note: you need the manual for the AX88170 chip (USB 1.x ethernet

--- 208 unchanged lines hidden (view full) ---

251static devclass_t axe_devclass;
252
253DRIVER_MODULE(axe, uhub, axe_driver, axe_devclass, NULL, 0);
254DRIVER_MODULE(miibus, axe, miibus_driver, miibus_devclass, 0, 0);
255MODULE_DEPEND(axe, uether, 1, 1, 1);
256MODULE_DEPEND(axe, usb, 1, 1, 1);
257MODULE_DEPEND(axe, ether, 1, 1, 1);
258MODULE_DEPEND(axe, miibus, 1, 1, 1);
259MODULE_VERSION(axe, 1);
259
260static const struct usb_ether_methods axe_ue_methods = {
261 .ue_attach_post = axe_attach_post,
262 .ue_start = axe_start,
263 .ue_init = axe_init,
264 .ue_stop = axe_stop,
265 .ue_tick = axe_tick,
266 .ue_setmulti = axe_setmulti,

--- 813 unchanged lines hidden ---
260
261static const struct usb_ether_methods axe_ue_methods = {
262 .ue_attach_post = axe_attach_post,
263 .ue_start = axe_start,
264 .ue_init = axe_init,
265 .ue_stop = axe_stop,
266 .ue_tick = axe_tick,
267 .ue_setmulti = axe_setmulti,

--- 813 unchanged lines hidden ---