wanXL serial card driver for 2.6.0-test5
Subsystems (2)
Krzysztof Halasa
maintainerPATCH 1/1 wanXL serial card driver for 2.6.0-test5
Hi,
This is a driver for SBE Inc. wanXL 4-port sync serial card, second version. Please apply to 2.6.0-test tree. Thanks.
Signature · 1 line
Krzysztof Halasa, B*FH
drivers/net/wan/Makefile +22 -0
@@ -66,3 +66,25 @@ endif obj-$(CONFIG_N2) += n2.o obj-$(CONFIG_C101) += c101.o +obj-$(CONFIG_WANXL) += wanxl.o + +ifeq ($(CONFIG_WANXL_BUILD_FIRMWARE),y) +ifeq ($(ARCH),m68k) + AS68K = $(AS) + LD68K = $(LD) +else + AS68K = as68k + LD68K = ld68k +endif + +quiet_cmd_build_wanxlfw = BLD FW $@ + cmd_build_wanxlfw = \ + $(CPP) -Wp,-MD,$(depfile) -Iinclude $(obj)/wanxlfw.S | $(AS68K) -m68360 -o $(obj)/wanxlfw.o; \ + $(LD68K) --oformat binary -Ttext 0x1000 $(obj)/wanxlfw.o -o $(obj)/wanxlfw.bin; \ + hexdump -ve '"\n" 16/1 "0x%02X,"' $(obj)/wanxlfw.bin | sed 's/0x ,//g;1s/^/static u8 firmware[]={/;$$s/,$$/\n};\n/' >$(obj)/wanxlfw.inc; \ + rm -f $(obj)/wanxlfw.bin $(obj)/wanxlfw.o + +$(obj)/wanxlfw.inc: $(obj)/wanxlfw.S + $(call if_changed_dep,build_wanxlfw) +targets += wanxlfw.inc +endif
drivers/net/wan/wanxl.h +152 -0
152 lines not on this page · raw message
drivers/net/wan/wanxl.c +836 -0
836 lines not on this page · raw message
drivers/net/wan/wanxlfw.S +895 -0
895 lines not on this page · raw message
drivers/net/wan/wanxlfw.inc +158 -0
158 lines not on this page · raw message
drivers/net/wan/Kconfig +24 -0
@@ -342,6 +342,30 @@ comment "X.25/LAPB support is disabled" depends on WAN && HDLC && (LAPB!=m || HDLC!=m) && LAPB!=y +config WANXL + tristate "SBE Inc. wanXL support" + depends on HDLC && PCI + help + This driver is for wanXL PCI cards made by SBE Inc. If you have + such a card, say Y here and see <http://hq.pm.waw.pl/pub/hdlc/>. + + If you want to compile the driver as a module ( = code which can be + inserted in and removed from the running kernel whenever you want), + say M here and read <file:Documentation/modules.txt>. The module + will be called wanxl. + + If unsure, say N here. + +config WANXL_BUILD_FIRMWARE + bool "rebuild wanXL firmware" + depends on WANXL + help + This option allows you to rebuild firmware run by the QUICC + processor. It requires as68k, ld68k and hexdump programs. + You should never need this option. + + If unsure, say N here. + config PC300 tristate "Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)" depends on HDLC && PCI