diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 18:24:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:24:56 -0400 |
commit | b6d9a5d81c6159ad651b5c6bb9223d14e33d8033 (patch) | |
tree | 68c06cad51517a312ba720f37610f8380f084efd | |
parent | 1e01441051dda3bb01c455b6e20bce6d00563d82 (diff) |
[PATCH] x86_64: Make IRDA devices are not really ISA devices not depend on CONFIG_ISA
This allows to use them on x86-64
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/net/irda/Kconfig | 10 | ||||
-rw-r--r-- | include/net/irda/irda_device.h | 2 | ||||
-rw-r--r-- | net/irda/irda_device.c | 4 |
3 files changed, 6 insertions, 10 deletions
diff --git a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig index a464841da49f..6bf76a444d48 100644 --- a/drivers/net/irda/Kconfig +++ b/drivers/net/irda/Kconfig | |||
@@ -310,7 +310,7 @@ config SIGMATEL_FIR | |||
310 | 310 | ||
311 | config NSC_FIR | 311 | config NSC_FIR |
312 | tristate "NSC PC87108/PC87338" | 312 | tristate "NSC PC87108/PC87338" |
313 | depends on IRDA && ISA | 313 | depends on IRDA |
314 | help | 314 | help |
315 | Say Y here if you want to build support for the NSC PC87108 and | 315 | Say Y here if you want to build support for the NSC PC87108 and |
316 | PC87338 IrDA chipsets. This driver supports SIR, | 316 | PC87338 IrDA chipsets. This driver supports SIR, |
@@ -321,7 +321,7 @@ config NSC_FIR | |||
321 | 321 | ||
322 | config WINBOND_FIR | 322 | config WINBOND_FIR |
323 | tristate "Winbond W83977AF (IR)" | 323 | tristate "Winbond W83977AF (IR)" |
324 | depends on IRDA && ISA | 324 | depends on IRDA |
325 | help | 325 | help |
326 | Say Y here if you want to build IrDA support for the Winbond | 326 | Say Y here if you want to build IrDA support for the Winbond |
327 | W83977AF super-io chipset. This driver should be used for the IrDA | 327 | W83977AF super-io chipset. This driver should be used for the IrDA |
@@ -347,7 +347,7 @@ config AU1000_FIR | |||
347 | 347 | ||
348 | config SMC_IRCC_FIR | 348 | config SMC_IRCC_FIR |
349 | tristate "SMSC IrCC (EXPERIMENTAL)" | 349 | tristate "SMSC IrCC (EXPERIMENTAL)" |
350 | depends on EXPERIMENTAL && IRDA && ISA | 350 | depends on EXPERIMENTAL && IRDA |
351 | help | 351 | help |
352 | Say Y here if you want to build support for the SMC Infrared | 352 | Say Y here if you want to build support for the SMC Infrared |
353 | Communications Controller. It is used in a wide variety of | 353 | Communications Controller. It is used in a wide variety of |
@@ -357,7 +357,7 @@ config SMC_IRCC_FIR | |||
357 | 357 | ||
358 | config ALI_FIR | 358 | config ALI_FIR |
359 | tristate "ALi M5123 FIR (EXPERIMENTAL)" | 359 | tristate "ALi M5123 FIR (EXPERIMENTAL)" |
360 | depends on EXPERIMENTAL && IRDA && ISA | 360 | depends on EXPERIMENTAL && IRDA |
361 | help | 361 | help |
362 | Say Y here if you want to build support for the ALi M5123 FIR | 362 | Say Y here if you want to build support for the ALi M5123 FIR |
363 | Controller. The ALi M5123 FIR Controller is embedded in ALi M1543C, | 363 | Controller. The ALi M5123 FIR Controller is embedded in ALi M1543C, |
@@ -385,7 +385,7 @@ config SA1100_FIR | |||
385 | 385 | ||
386 | config VIA_FIR | 386 | config VIA_FIR |
387 | tristate "VIA VT8231/VT1211 SIR/MIR/FIR" | 387 | tristate "VIA VT8231/VT1211 SIR/MIR/FIR" |
388 | depends on IRDA && ISA && PCI | 388 | depends on IRDA |
389 | help | 389 | help |
390 | Say Y here if you want to build support for the VIA VT8231 | 390 | Say Y here if you want to build support for the VIA VT8231 |
391 | and VIA VT1211 IrDA controllers, found on the motherboards using | 391 | and VIA VT1211 IrDA controllers, found on the motherboards using |
diff --git a/include/net/irda/irda_device.h b/include/net/irda/irda_device.h index 3b216f186f18..71d6af83b631 100644 --- a/include/net/irda/irda_device.h +++ b/include/net/irda/irda_device.h | |||
@@ -235,9 +235,7 @@ int irda_device_register_dongle(struct dongle_reg *dongle); | |||
235 | dongle_t *irda_device_dongle_init(struct net_device *dev, int type); | 235 | dongle_t *irda_device_dongle_init(struct net_device *dev, int type); |
236 | int irda_device_dongle_cleanup(dongle_t *dongle); | 236 | int irda_device_dongle_cleanup(dongle_t *dongle); |
237 | 237 | ||
238 | #ifdef CONFIG_ISA | ||
239 | void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode); | 238 | void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode); |
240 | #endif | ||
241 | 239 | ||
242 | void irda_task_delete(struct irda_task *task); | 240 | void irda_task_delete(struct irda_task *task); |
243 | struct irda_task *irda_task_execute(void *instance, | 241 | struct irda_task *irda_task_execute(void *instance, |
diff --git a/net/irda/irda_device.c b/net/irda/irda_device.c index 9b9bb003c5a9..d6ccd3239dcf 100644 --- a/net/irda/irda_device.c +++ b/net/irda/irda_device.c | |||
@@ -470,11 +470,10 @@ void irda_device_unregister_dongle(struct dongle_reg *dongle) | |||
470 | } | 470 | } |
471 | EXPORT_SYMBOL(irda_device_unregister_dongle); | 471 | EXPORT_SYMBOL(irda_device_unregister_dongle); |
472 | 472 | ||
473 | #ifdef CONFIG_ISA | ||
474 | /* | 473 | /* |
475 | * Function setup_dma (idev, buffer, count, mode) | 474 | * Function setup_dma (idev, buffer, count, mode) |
476 | * | 475 | * |
477 | * Setup the DMA channel. Commonly used by ISA FIR drivers | 476 | * Setup the DMA channel. Commonly used by LPC FIR drivers |
478 | * | 477 | * |
479 | */ | 478 | */ |
480 | void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) | 479 | void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) |
@@ -493,4 +492,3 @@ void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) | |||
493 | release_dma_lock(flags); | 492 | release_dma_lock(flags); |
494 | } | 493 | } |
495 | EXPORT_SYMBOL(irda_setup_dma); | 494 | EXPORT_SYMBOL(irda_setup_dma); |
496 | #endif | ||