VIA driver
PATCH 1/1 VIA driver
ir254_via_ircc-1.diff :
~~~~~~~~~~~~~~~~~~~~~
<Patch from Joseph Chan/VIA>
o [FEATURE] driver for IrDA integrated in VIA chipsets
drivers/net/irda/Kconfig renamed from drivers/net/irda.d1/Kconfig +18 -0
@@ -348,5 +348,23 @@ config SA1100_FIR tristate "SA1100 Internal IR" depends on ARCH_SA1100 && IRDA +config VIA_FIR + tristate "VIA VT8231/VT1211 SIR/MIR/FIR" + depends on IRDA && ISA + help + Say Y here if you want to build support for the VIA VT8231 + and VIA VT1211 IrDA controllers, found on the motherboards using + those those VIA chipsets. To use this controller, you will need + to plug a specific 5 pins FIR IrDA dongle in the specific + motherboard connector. The driver provides support for SIR, MIR + and FIR (4Mbps) speeds. + + You will need to specify the 'dongle_id' module parameter to + indicate the FIR dongle attached to the controller. + + If you want to compile it as a module, say M here and read + <file:Documentation/modules.txt>. The module will be called + via-ircc. + endmenu
drivers/net/irda/Makefile renamed from drivers/net/irda.d1/Makefile +1 -0
@@ -19,6 +19,7 @@ obj-$(CONFIG_SMC_IRCC_OLD) += smc-ircc.o obj-$(CONFIG_SMC_IRCC_FIR) += smsc-ircc2.o obj-$(CONFIG_ALI_FIR) += ali-ircc.o obj-$(CONFIG_VLSI_FIR) += vlsi_ir.o +obj-$(CONFIG_VIA_FIR) += via-ircc.o # Old dongle drivers for old SIR drivers obj-$(CONFIG_ESI_DONGLE_OLD) += esi.o obj-$(CONFIG_TEKRAM_DONGLE_OLD) += tekram.o
drivers/net/irda/via-ircc.c renamed from drivers/net/irda.d1/via-ircc.c +1483 -0
1,483 lines not on this page · raw message
drivers/net/irda/via-ircc.h renamed from drivers/net/irda.d1/via-ircc.h +1027 -0
1,027 lines not on this page · raw message
Ug. Did you even read this driver before forwarding??
The coding style is half linux kernel, half drunken fool. And the PCI probing is one huge mess.