aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-11-06 19:51:40 +0000
committerEd Maste <emaste@FreeBSD.org>2019-11-06 19:51:40 +0000
commit8890ab7758b8a03a68f3fe596f6a5446921631a5 (patch)
treeb9bc949a048a9759bdfc11c50f6d7c3dc85a25bd /sys/modules
parent89f34d4611aea4dd9d9ad76075e94aead95fa3c4 (diff)
Introduce if_mgb driver for Microchip LAN743x PCIe NIC
The Microchip LAN7430 is a PCIe 10/100/1000 Ethernet MAC with integrated PHY, and the LAN7431 is a MAC with RGMII interface. To be connected to the build after further testing and review. Committing now so that changes like r354345 (adding a common ETHER_IS_ZERO macro) will update this driver too. Submitted by: Gerald ND Aryeetey <aryeeteygerald_rogers.com> Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20079
Notes
svn path=/head/; revision=354410
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/mgb/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/modules/mgb/Makefile b/sys/modules/mgb/Makefile
new file mode 100644
index 000000000000..3b819239ef0e
--- /dev/null
+++ b/sys/modules/mgb/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/dev/mgb
+
+KMOD = if_mgb
+SRCS = if_mgb.c
+SRCS += device_if.h bus_if.h pci_if.h
+SRCS += ifdi_if.h
+SRCS += miibus_if.h
+
+#CFLAGS+= -DIFLIB
+
+.include <bsd.kmod.mk>
+