aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/atiixp.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:55 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-07-19 19:11:55 -0400
commita5d8c5c834d3cabf4b7b477c3f6ee923c25026fc (patch)
tree19fc04470569a3c2f227d5aac3078a15ac65bb32 /drivers/ide/pci/atiixp.c
parent2229833c1365346b64357a9263fa724f74f5e376 (diff)
ide: add ide_pci_device_t.host_flags (take 2)
* Rename ide_pci_device_t.flags to ide_pci_device_t.host_flags and IDEPCI_FLAG_ISA_PORTS flag to IDE_HFLAG_ISA_PORTS. * Add IDE_HFLAG_SINGLE flag for single channel devices. * Convert core code and all IDE PCI drivers to use IDE_HFLAG_SINGLE and remove no longer needed ide_pci_device_t.channels field. v2: * Fix issues noticed by Sergei: - correct code alignment in scc_pata.c - s/IDE_HFLAG_SINGLE/~IDE_HFLAG_SINGLE/ in serverworks.c Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/atiixp.c')
-rw-r--r--drivers/ide/pci/atiixp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/pci/atiixp.c b/drivers/ide/pci/atiixp.c
index bfdf086f4525..078adbe250d2 100644
--- a/drivers/ide/pci/atiixp.c
+++ b/drivers/ide/pci/atiixp.c
@@ -291,17 +291,16 @@ static ide_pci_device_t atiixp_pci_info[] __devinitdata = {
291 { /* 0 */ 291 { /* 0 */
292 .name = "ATIIXP", 292 .name = "ATIIXP",
293 .init_hwif = init_hwif_atiixp, 293 .init_hwif = init_hwif_atiixp,
294 .channels = 2,
295 .autodma = AUTODMA, 294 .autodma = AUTODMA,
296 .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}}, 295 .enablebits = {{0x48,0x01,0x00}, {0x48,0x08,0x00}},
297 .bootable = ON_BOARD, 296 .bootable = ON_BOARD,
298 },{ /* 1 */ 297 },{ /* 1 */
299 .name = "SB600_PATA", 298 .name = "SB600_PATA",
300 .init_hwif = init_hwif_atiixp, 299 .init_hwif = init_hwif_atiixp,
301 .channels = 1,
302 .autodma = AUTODMA, 300 .autodma = AUTODMA,
303 .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}}, 301 .enablebits = {{0x48,0x01,0x00}, {0x00,0x00,0x00}},
304 .bootable = ON_BOARD, 302 .bootable = ON_BOARD,
303 .host_flags = IDE_HFLAG_SINGLE,
305 }, 304 },
306}; 305};
307 306