From a87efa794e18e71c0a2695a6faf30d6935bd169e Mon Sep 17 00:00:00 2001 From: marius Date: Sat, 20 Jan 2007 12:53:30 +0000 Subject: 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. --- sys/modules/le/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys/modules') 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 -- cgit v1.1