Reintroduce the lmc T1/E1/T3 WAN driver. This version is locked, supports
interface polling, compiles on 64-bit platforms, and compiles on NetBSD, OpenBSD, BSD/OS, and Linux. Woo! Thanks to David Boggs for providing this driver. Altq, sppp, netgraph, and bpf are required for this driver to operate. Userland tools and man pages will be committed next. Submitted by: David Boggs
This commit is contained in:
parent
56e5a87a55
commit
2bc6081c9f
@ -1720,6 +1720,7 @@ device miibus
|
||||
# lge: Support for PCI gigabit ethernet adapters based on the Level 1
|
||||
# LXT1001 NetCellerator chipset. This includes the D-Link DGE-500SX,
|
||||
# SMC TigerCard 1000 (SMC9462SX), and some Addtron cards.
|
||||
# lmc: Support for the LMC/SBE wide-area network interface cards.
|
||||
# my: Myson Fast Ethernet (MTD80X, MTD89X)
|
||||
# nge: Support for PCI gigabit ethernet adapters based on the National
|
||||
# Semiconductor DP83820 and DP83821 chipset. This includes the
|
||||
@ -1845,6 +1846,9 @@ device sk
|
||||
device ti
|
||||
device fpa
|
||||
|
||||
# PCI WAN adapters.
|
||||
device lmc
|
||||
|
||||
# Use "private" jumbo buffers allocated exclusively for the ti(4) driver.
|
||||
# This option is incompatible with the TI_JUMBO_HDRSPLIT option below.
|
||||
#options TI_PRIVATE_JUMBOS
|
||||
|
@ -689,6 +689,7 @@ dev/joy/joy_pccard.c optional joy pccard
|
||||
dev/kbdmux/kbdmux.c optional kbdmux
|
||||
dev/led/led.c standard
|
||||
dev/lge/if_lge.c optional lge
|
||||
dev/lmc/if_lmc.c optional lmc
|
||||
dev/lnc/if_lnc.c optional lnc
|
||||
dev/lnc/if_lnc_pci.c optional lnc pci
|
||||
dev/mc146818/mc146818.c optional mc146818
|
||||
|
7026
sys/dev/lmc/if_lmc.c
Normal file
7026
sys/dev/lmc/if_lmc.c
Normal file
File diff suppressed because it is too large
Load Diff
1687
sys/dev/lmc/if_lmc.h
Normal file
1687
sys/dev/lmc/if_lmc.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -131,6 +131,7 @@ SUBDIR= ${_3dfx} \
|
||||
libmchain \
|
||||
${_linprocfs} \
|
||||
${_linux} \
|
||||
lmc \
|
||||
${_lnc} \
|
||||
lpt \
|
||||
mac_biba \
|
||||
|
25
sys/modules/lmc/Makefile
Normal file
25
sys/modules/lmc/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# $FreeBSD$
|
||||
|
||||
KMOD = if_lmc
|
||||
.PATH: ${.CURDIR}/../../dev/lmc
|
||||
|
||||
SRCS = if_lmc.c if_lmc.h
|
||||
SRCS += device_if.h bus_if.h pci_if.h
|
||||
SRCS += opt_inet.h opt_inet6.h
|
||||
SRCS += opt_netgraph.h
|
||||
SRCS += opt_global.h
|
||||
SRCS += opt_bpf.h
|
||||
|
||||
opt_inet.h:
|
||||
echo "#define INET 1" > ${.TARGET}
|
||||
opt_inet6.h:
|
||||
echo "#define INET6 0" > ${.TARGET}
|
||||
opt_netgraph.h:
|
||||
echo "#define NETGRAPH 1" > ${.TARGET}
|
||||
opt_global.h:
|
||||
echo "#define ALTQ 1" > ${.TARGET}
|
||||
echo "#define DEVICE_POLLING 1" >> ${.TARGET}
|
||||
opt_bpf.h: # FreeBSD-5:
|
||||
echo "#define DEV_BPF 1" > ${.TARGET}
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
x
Reference in New Issue
Block a user