summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/atheros/alx/Makefile
diff options
context:
space:
mode:
authorJohannes Berg2013-06-17 22:44:02 +0200
committerDavid S. Miller2013-06-18 01:04:34 +0200
commitab69bde6b2e9c37456eeb0051a185446336aef9f (patch)
tree240e8f8f1ce05b182ab5c6693622cd962968b468 /drivers/net/ethernet/atheros/alx/Makefile
parentFix the VLAN_TAG_PRESENT in netvsc_recv_callback() (diff)
downloadkernel-qcow2-linux-ab69bde6b2e9c37456eeb0051a185446336aef9f.tar.gz
kernel-qcow2-linux-ab69bde6b2e9c37456eeb0051a185446336aef9f.tar.xz
kernel-qcow2-linux-ab69bde6b2e9c37456eeb0051a185446336aef9f.zip
alx: add a simple AR816x/AR817x device driver
This is a very simple driver, based on the original vendor driver that Qualcomm/Atheros published/submitted previously, but reworked to make the code saner. However, it also lost a number of features (TSO/GSO, VLAN acceleration and multi- queue support) in the process, as well as debugging support features I didn't have any use for. The only thing I left is checksum offload. More features can obviously be added, but this seemed like a good start for having a driver in mainline at all. Johannes Stezenbach has verified that the driver works on AR8161, I have a AR8171 myself. The E2200 device ID I found on github in somebody's repository. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/atheros/alx/Makefile')
-rw-r--r--drivers/net/ethernet/atheros/alx/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/atheros/alx/Makefile b/drivers/net/ethernet/atheros/alx/Makefile
new file mode 100644
index 000000000000..5901fa407d52
--- /dev/null
+++ b/drivers/net/ethernet/atheros/alx/Makefile
@@ -0,0 +1,3 @@
+obj-$(CONFIG_ALX) += alx.o
+alx-objs := main.o ethtool.o hw.o
+ccflags-y += -D__CHECK_ENDIAN__