Commit 1e2583db authored by Jean Tourrilhes's avatar Jean Tourrilhes Committed by Linus Torvalds

[IrDA] setup dma fix

	o [CORRECT] Make ISA drivers depend on ISA. This is the consequence
		from David's change to setup_dma().
	o [CORRECT] Make new dongle drivers depend on sir-dev (they require it)
	o [FEATURE] Make old dongle drivers depend on irtty/irport
	o [FEATURE] irda-usb driver is no longer experimental
parent 03fba834
...@@ -22,6 +22,7 @@ comment "Dongle support" ...@@ -22,6 +22,7 @@ comment "Dongle support"
config DONGLE config DONGLE
bool "Serial dongle support" bool "Serial dongle support"
depends on IRTTY_SIR
help help
Say Y here if you have an infrared device that connects to your Say Y here if you have an infrared device that connects to your
computer's serial port. These devices are called dongles. Then say Y computer's serial port. These devices are called dongles. Then say Y
...@@ -69,7 +70,7 @@ comment "Old SIR device drivers" ...@@ -69,7 +70,7 @@ comment "Old SIR device drivers"
config IRTTY_OLD config IRTTY_OLD
tristate "Old IrTTY (broken)" tristate "Old IrTTY (broken)"
depends on IRDA depends on IRDA && EXPERIMENTAL
help help
Say Y here if you want to build support for the IrTTY line Say Y here if you want to build support for the IrTTY line
discipline. If you want to compile it as a module (irtty), say M discipline. If you want to compile it as a module (irtty), say M
...@@ -102,6 +103,7 @@ comment "Old Serial dongle support" ...@@ -102,6 +103,7 @@ comment "Old Serial dongle support"
config DONGLE_OLD config DONGLE_OLD
bool "Old Serial dongle support" bool "Old Serial dongle support"
depends on IRTTY_OLD || IRPORT_SIR
help help
Say Y here if you have an infrared device that connects to your Say Y here if you have an infrared device that connects to your
computer's serial port. These devices are called dongles. Then say Y computer's serial port. These devices are called dongles. Then say Y
...@@ -226,8 +228,8 @@ config MA600_DONGLE ...@@ -226,8 +228,8 @@ config MA600_DONGLE
comment "FIR device drivers" comment "FIR device drivers"
config USB_IRDA config USB_IRDA
tristate "IrDA USB dongles (EXPERIMENTAL)" tristate "IrDA USB dongles"
depends on IRDA && USB && EXPERIMENTAL depends on IRDA && USB
---help--- ---help---
Say Y here if you want to build support for the USB IrDA FIR Dongle Say Y here if you want to build support for the USB IrDA FIR Dongle
device driver. If you want to compile it as a module (irda-usb), device driver. If you want to compile it as a module (irda-usb),
...@@ -243,7 +245,7 @@ config USB_IRDA ...@@ -243,7 +245,7 @@ config USB_IRDA
config NSC_FIR config NSC_FIR
tristate "NSC PC87108/PC87338" tristate "NSC PC87108/PC87338"
depends on IRDA depends on IRDA && ISA
help help
Say Y here if you want to build support for the NSC PC87108 and Say Y here if you want to build support for the NSC PC87108 and
PC87338 IrDA chipsets. This driver supports SIR, PC87338 IrDA chipsets. This driver supports SIR,
...@@ -255,7 +257,7 @@ config NSC_FIR ...@@ -255,7 +257,7 @@ config NSC_FIR
config WINBOND_FIR config WINBOND_FIR
tristate "Winbond W83977AF (IR)" tristate "Winbond W83977AF (IR)"
depends on IRDA depends on IRDA && ISA
help help
Say Y here if you want to build IrDA support for the Winbond Say Y here if you want to build IrDA support for the Winbond
W83977AF super-io chipset. This driver should be used for the IrDA W83977AF super-io chipset. This driver should be used for the IrDA
...@@ -295,7 +297,7 @@ config AU1000_FIR ...@@ -295,7 +297,7 @@ config AU1000_FIR
config SMC_IRCC_OLD config SMC_IRCC_OLD
tristate "SMC IrCC (old driver) (EXPERIMENTAL)" tristate "SMC IrCC (old driver) (EXPERIMENTAL)"
depends on EXPERIMENTAL && IRDA depends on EXPERIMENTAL && IRDA && ISA
help help
Say Y here if you want to build support for the SMC Infrared Say Y here if you want to build support for the SMC Infrared
Communications Controller. It is used in the Fujitsu Lifebook 635t Communications Controller. It is used in the Fujitsu Lifebook 635t
...@@ -307,7 +309,7 @@ config SMC_IRCC_OLD ...@@ -307,7 +309,7 @@ config SMC_IRCC_OLD
config SMC_IRCC_FIR config SMC_IRCC_FIR
tristate "SMSC IrCC (EXPERIMENTAL)" tristate "SMSC IrCC (EXPERIMENTAL)"
depends on EXPERIMENTAL && IRDA depends on EXPERIMENTAL && IRDA && ISA
help help
Say Y here if you want to build support for the SMC Infrared Say Y here if you want to build support for the SMC Infrared
Communications Controller. It is used in a wide variety of Communications Controller. It is used in a wide variety of
...@@ -318,7 +320,7 @@ config SMC_IRCC_FIR ...@@ -318,7 +320,7 @@ config SMC_IRCC_FIR
config ALI_FIR config ALI_FIR
tristate "ALi M5123 FIR (EXPERIMENTAL)" tristate "ALi M5123 FIR (EXPERIMENTAL)"
depends on EXPERIMENTAL && IRDA depends on EXPERIMENTAL && IRDA && ISA
help help
Say Y here if you want to build support for the ALi M5123 FIR Say Y here if you want to build support for the ALi M5123 FIR
Controller. The ALi M5123 FIR Controller is embedded in ALi M1543C, Controller. The ALi M5123 FIR Controller is embedded in ALi M1543C,
......
...@@ -230,7 +230,9 @@ int irda_device_register_dongle(struct dongle_reg *dongle); ...@@ -230,7 +230,9 @@ int irda_device_register_dongle(struct dongle_reg *dongle);
dongle_t *irda_device_dongle_init(struct net_device *dev, int type); dongle_t *irda_device_dongle_init(struct net_device *dev, int type);
int irda_device_dongle_cleanup(dongle_t *dongle); int irda_device_dongle_cleanup(dongle_t *dongle);
#ifdef CONFIG_ISA
void setup_dma(int channel, char *buffer, int count, int mode); void setup_dma(int channel, char *buffer, int count, int mode);
#endif
void irda_task_delete(struct irda_task *task); void irda_task_delete(struct irda_task *task);
int irda_task_kick(struct irda_task *task); int irda_task_kick(struct irda_task *task);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment