summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-01-20 12:53:30 +0000
committermarius <marius@FreeBSD.org>2007-01-20 12:53:30 +0000
commita87efa794e18e71c0a2695a6faf30d6935bd169e (patch)
treec1f8da4ee8ffb663ff7e05a53d27c195d56d910e /sys/modules
parentd97f830fc18093c0ec4498e4d3e1802069acf788 (diff)
downloadFreeBSD-src-a87efa794e18e71c0a2695a6faf30d6935bd169e.zip
FreeBSD-src-a87efa794e18e71c0a2695a6faf30d6935bd169e.tar.gz
Add front-ends for the 'lebuffer' variants found on some SBus cards.
These are shared-memory variants based on Am79C90-compatible chips that apart from the missing DMA engine are similar to the 'ledma' variant including using a (pseudo-)bus/device for the buffer that the actual LANCE device hangs off from. The performance of these is close to that of the 'ledma' one, like expected at a few times the CPU load though.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/le/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/modules/le/Makefile b/sys/modules/le/Makefile
index 0d484ec..d3101e1 100644
--- a/sys/modules/le/Makefile
+++ b/sys/modules/le/Makefile
@@ -3,8 +3,8 @@
.PATH: ${.CURDIR}/../../dev/le
KMOD= if_le
-SRCS= am7990.c am79900.c ${if_le_cbus} ${if_le_isa} ${if_le_ledma}
-SRCS+= if_le_pci.c lance.c
+SRCS= am7990.c am79900.c ${if_le_cbus} ${if_le_isa} ${if_le_lebuffer}
+SRCS+= ${if_le_ledma} if_le_pci.c lance.c ${lebuffer_sbus}
SRCS+= bus_if.h device_if.h ${isa_if} ${ofw_bus_if} pci_if.h
.if ${MACHINE_ARCH} == "i386"
@@ -17,7 +17,9 @@ isa_if= isa_if.h
.endif
.if ${MACHINE_ARCH} == "sparc64"
+if_le_lebuffer= if_le_lebuffer.c
if_le_ledma= if_le_ledma.c
+lebuffer_sbus= lebuffer_sbus.c
ofw_bus_if= ofw_bus_if.h
.endif
OpenPOWER on IntegriCloud