]>
Commit | Line | Data |
---|---|---|
8ea25cdc | 1 | diff -Nur linux-2.6.0-test11/include/linux/pci_ids.h linux/include/linux/pci_ids.h |
2 | --- linux-2.6.0-test11/include/linux/pci_ids.h 2003-11-26 21:43:39.000000000 +0100 | |
3 | +++ linux/include/linux/pci_ids.h 2003-12-03 20:13:17.000000000 +0100 | |
4 | @@ -971,6 +971,7 @@ | |
5 | #define PCI_DEVICE_ID_AL_M1531 0x1531 | |
6 | #define PCI_DEVICE_ID_AL_M1533 0x1533 | |
7 | #define PCI_DEVICE_ID_AL_M1541 0x1541 | |
8 | +#define PCI_DEVICE_ID_AL_M1563 0x1563 | |
9 | #define PCI_DEVICE_ID_AL_M1621 0x1621 | |
10 | #define PCI_DEVICE_ID_AL_M1631 0x1631 | |
11 | #define PCI_DEVICE_ID_AL_M1632 0x1632 | |
12 | diff -Nur linux-2.6.0-test11/drivers/ide/pci/alim15x3.c linux/drivers/ide/pci/alim15x3.c | |
13 | --- linux-2.6.0-test11/drivers/ide/pci/alim15x3.c 2003-11-26 21:43:35.000000000 +0100 | |
14 | +++ linux/drivers/ide/pci/alim15x3.c 2003-12-03 20:16:48.000000000 +0100 | |
15 | @@ -584,6 +584,13 @@ | |
16 | ||
17 | isa_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL); | |
18 | ||
19 | + /* | |
20 | + * If ALI 1533 southbridge was not found, | |
21 | + * we try to find the ALI 1563 southbridge. | |
22 | + */ | |
23 | + if (!isa_dev) | |
24 | + isa_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1563, NULL); | |
25 | + | |
26 | #if defined(DISPLAY_ALI_TIMINGS) && defined(CONFIG_PROC_FS) | |
27 | if (!ali_proc) { | |
28 | ali_proc = 1; |