diff options
author | Linus Walleij (LD/EAB <linus.walleij@ericsson.com> | 2006-09-28 01:49:23 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:02:53 -0400 |
commit | 895de090d4302a02a77cdf366fc6e54fc2001857 (patch) | |
tree | 6460188f54fc5e2a58ae17c7be6bcc250b600d1c | |
parent | 2fd19a687c256fa4c4750465b9856e2c80660ec8 (diff) |
[IrDA] smsc-ircc: More laptops detected
This patch detects the smsc-ircc chipset on the nx1000
(including nx7000 and nx7010) and the nx5000 HP/Compaq laptop series.
Patch from "Linus Walleij (LD/EAB)" <linus.walleij@ericsson.com>
Signed-off-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/irda/smsc-ircc2.c | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c index 2eff45bedc7c..22358ff68c4c 100644 --- a/drivers/net/irda/smsc-ircc2.c +++ b/drivers/net/irda/smsc-ircc2.c | |||
@@ -2354,6 +2354,26 @@ static int __init smsc_superio_lpc(unsigned short cfg_base) | |||
2354 | #define PCIID_VENDOR_INTEL 0x8086 | 2354 | #define PCIID_VENDOR_INTEL 0x8086 |
2355 | #define PCIID_VENDOR_ALI 0x10b9 | 2355 | #define PCIID_VENDOR_ALI 0x10b9 |
2356 | static struct smsc_ircc_subsystem_configuration subsystem_configurations[] __initdata = { | 2356 | static struct smsc_ircc_subsystem_configuration subsystem_configurations[] __initdata = { |
2357 | /* | ||
2358 | * Subsystems needing entries: | ||
2359 | * 0x10b9:0x1533 0x103c:0x0850 HP nx9010 family | ||
2360 | * 0x10b9:0x1533 0x0e11:0x005a Compaq nc4000 family | ||
2361 | * 0x8086:0x24cc 0x0e11:0x002a HP nx9000 family | ||
2362 | */ | ||
2363 | { | ||
2364 | /* Guessed entry */ | ||
2365 | .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */ | ||
2366 | .device = 0x24cc, | ||
2367 | .subvendor = 0x103c, | ||
2368 | .subdevice = 0x08bc, | ||
2369 | .sir_io = 0x02f8, | ||
2370 | .fir_io = 0x0130, | ||
2371 | .fir_irq = 0x05, | ||
2372 | .fir_dma = 0x03, | ||
2373 | .cfg_base = 0x004e, | ||
2374 | .preconfigure = preconfigure_through_82801, | ||
2375 | .name = "HP nx5000 family", | ||
2376 | }, | ||
2357 | { | 2377 | { |
2358 | .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */ | 2378 | .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */ |
2359 | .device = 0x24cc, | 2379 | .device = 0x24cc, |
@@ -2366,7 +2386,7 @@ static struct smsc_ircc_subsystem_configuration subsystem_configurations[] __ini | |||
2366 | .fir_dma = 0x03, | 2386 | .fir_dma = 0x03, |
2367 | .cfg_base = 0x004e, | 2387 | .cfg_base = 0x004e, |
2368 | .preconfigure = preconfigure_through_82801, | 2388 | .preconfigure = preconfigure_through_82801, |
2369 | .name = "HP nc8000", | 2389 | .name = "HP nc8000 family", |
2370 | }, | 2390 | }, |
2371 | { | 2391 | { |
2372 | .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */ | 2392 | .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */ |
@@ -2379,7 +2399,21 @@ static struct smsc_ircc_subsystem_configuration subsystem_configurations[] __ini | |||
2379 | .fir_dma = 0x03, | 2399 | .fir_dma = 0x03, |
2380 | .cfg_base = 0x004e, | 2400 | .cfg_base = 0x004e, |
2381 | .preconfigure = preconfigure_through_82801, | 2401 | .preconfigure = preconfigure_through_82801, |
2382 | .name = "HP nc6000", | 2402 | .name = "HP nc6000 family", |
2403 | }, | ||
2404 | { | ||
2405 | .vendor = PCIID_VENDOR_INTEL, /* Intel 82801DBM LPC bridge */ | ||
2406 | .device = 0x24cc, | ||
2407 | .subvendor = 0x0e11, | ||
2408 | .subdevice = 0x0860, | ||
2409 | /* I assume these are the same for x1000 as for the others */ | ||
2410 | .sir_io = 0x02e8, | ||
2411 | .fir_io = 0x02f8, | ||
2412 | .fir_irq = 0x07, | ||
2413 | .fir_dma = 0x03, | ||
2414 | .cfg_base = 0x002e, | ||
2415 | .preconfigure = preconfigure_through_82801, | ||
2416 | .name = "Compaq x1000 family", | ||
2383 | }, | 2417 | }, |
2384 | { | 2418 | { |
2385 | /* Intel 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge */ | 2419 | /* Intel 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge */ |