mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 01:20:52 +07:00
e2ca90c276
This is a resubmission. Added kfree() in ax88179_get_eeprom to prevent memory leakage. Modified "__le16 rxctl" to "u16 rxctl" in "struct ax88179_data" and removed pointless casts. Removed asix_init and asix_exit functions and added "module_usb_driver(ax88179_178a_driver)". Fixed endianness issue on big endian systems and verified this driver on iBook G4. Removed steps that change net->features in ax88179_set_features function. Added "const" to ethtool_ops structure and fixed the coding style of AX88179_BULKIN_SIZE array. Fixed the issue that the default MTU is not 1500. Added ax88179_change_mtu function and enabled the hardware jumbo frame function to support an MTU higher than 1500. Fixed indentation and empty line coding style errors. The _nopm version usb functions were added to access register in suspend and resume functions. Serveral variables allocted dynamically were removed and replaced by stack variables. ax88179_get_eeprom were modified from asix_get_eeprom in asix_common. This patch adds a driver for ASIX's AX88179 family of USB 3.0/2.0 to gigabit ethernet adapters. It's based on the AX88xxx driver but the usb commands used to access registers for AX88179 are completely different. This driver had been verified on x86 system with AX88179/AX88178A and Sitcomm LN-032 USB dongles. Signed-off-by: Freddy Xin <freddy@asix.com.tw> Signed-off-by: David S. Miller <davem@davemloft.net>
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
#
|
|
# Makefile for USB Network drivers
|
|
#
|
|
|
|
obj-$(CONFIG_USB_CATC) += catc.o
|
|
obj-$(CONFIG_USB_KAWETH) += kaweth.o
|
|
obj-$(CONFIG_USB_PEGASUS) += pegasus.o
|
|
obj-$(CONFIG_USB_RTL8150) += rtl8150.o
|
|
obj-$(CONFIG_USB_HSO) += hso.o
|
|
obj-$(CONFIG_USB_NET_AX8817X) += asix.o
|
|
asix-y := asix_devices.o asix_common.o ax88172a.o
|
|
obj-$(CONFIG_USB_NET_AX88179_178A) += ax88179_178a.o
|
|
obj-$(CONFIG_USB_NET_CDCETHER) += cdc_ether.o
|
|
obj-$(CONFIG_USB_NET_CDC_EEM) += cdc_eem.o
|
|
obj-$(CONFIG_USB_NET_DM9601) += dm9601.o
|
|
obj-$(CONFIG_USB_NET_SMSC75XX) += smsc75xx.o
|
|
obj-$(CONFIG_USB_NET_SMSC95XX) += smsc95xx.o
|
|
obj-$(CONFIG_USB_NET_GL620A) += gl620a.o
|
|
obj-$(CONFIG_USB_NET_NET1080) += net1080.o
|
|
obj-$(CONFIG_USB_NET_PLUSB) += plusb.o
|
|
obj-$(CONFIG_USB_NET_RNDIS_HOST) += rndis_host.o
|
|
obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
|
|
obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
|
|
obj-$(CONFIG_USB_NET_MCS7830) += mcs7830.o
|
|
obj-$(CONFIG_USB_USBNET) += usbnet.o
|
|
obj-$(CONFIG_USB_NET_INT51X1) += int51x1.o
|
|
obj-$(CONFIG_USB_CDC_PHONET) += cdc-phonet.o
|
|
obj-$(CONFIG_USB_NET_KALMIA) += kalmia.o
|
|
obj-$(CONFIG_USB_IPHETH) += ipheth.o
|
|
obj-$(CONFIG_USB_SIERRA_NET) += sierra_net.o
|
|
obj-$(CONFIG_USB_NET_CX82310_ETH) += cx82310_eth.o
|
|
obj-$(CONFIG_USB_NET_CDC_NCM) += cdc_ncm.o
|
|
obj-$(CONFIG_USB_VL600) += lg-vl600.o
|
|
obj-$(CONFIG_USB_NET_QMI_WWAN) += qmi_wwan.o
|
|
obj-$(CONFIG_USB_NET_CDC_MBIM) += cdc_mbim.o
|
|
|