diff options
author | Conke Hu <conke.hu@amd.com> | 2007-01-27 07:46:30 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-01-27 07:46:30 -0500 |
commit | b25168dfdc162b4198fa6395cd191a20dddc6d34 (patch) | |
tree | d4086f88781e5374c1e0a2b889fb86258f860ea9 /drivers/ide | |
parent | 737153298023342073ccaa006144dd254b298e2b (diff) |
atiixp.c: sb600 ide only has one channel
AMD/ATI SB600 IDE/PATA controller only has one channel.
Signed-off-by: Conke Hu <conke.hu@amd.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pci/atiixp.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c index 148af8ab518f..5b7e000ac2f5 100644 --- a/drivers/ide/pci/atiixp.c +++ b/drivers/ide/pci/atiixp.c | |||
@@ -329,7 +329,14 @@ static ide_pci_device_t atiixp_pci_info[] __devinitdata = { | |||
329 | .autodma = AUTODMA, | 329 | .autodma = AUTODMA, |
330 | .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, | 330 | .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, |
331 | .bootable = ON_BOARD, | 331 | .bootable = ON_BOARD, |
332 | }, | 332 | },{ /* 1 */ |
333 | .name = "SB600_PATA", | ||
334 | .init_hwif = init_hwif_atiixp, | ||
335 | .channels = 1, | ||
336 | .autodma = AUTODMA, | ||
337 | .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}}, | ||
338 | .bootable = ON_BOARD, | ||
339 | }, | ||
333 | }; | 340 | }; |
334 | 341 | ||
335 | /** | 342 | /** |
@@ -350,7 +357,7 @@ static struct pci_device_id atiixp_pci_tbl[] = { | |||
350 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP200_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 357 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP200_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
351 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP300_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 358 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP300_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
352 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 359 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
353 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 360 | { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1}, |
354 | { 0, }, | 361 | { 0, }, |
355 | }; | 362 | }; |
356 | MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl); | 363 | MODULE_DEVICE_TABLE(pci, atiixp_pci_tbl); |