diff options
author | Tejun Heo <htejun@gmail.com> | 2006-02-28 11:25:39 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-03 15:39:54 -0500 |
commit | d435804803befedbda9fdc1be088e7930b60982b (patch) | |
tree | 54d976e27cc6e3513ba60c1317987cd700724c15 /drivers/scsi | |
parent | 1d076e5b8d91babc018ffaefafd4f85a53c9a1b1 (diff) |
[PATCH] ata_piix: add a couple of flags
Add PIIX_FLAG_IGN_PRESENT and SCR flags. Thi patch doesn't cause any
functional change. To be used by later init/scr updates.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ata_piix.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index 5988d5fe1e18..987a7ccac917 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
@@ -101,6 +101,8 @@ enum { | |||
101 | ICH5_PCS = 0x92, /* port control and status */ | 101 | ICH5_PCS = 0x92, /* port control and status */ |
102 | PIIX_SCC = 0x0A, /* sub-class code register */ | 102 | PIIX_SCC = 0x0A, /* sub-class code register */ |
103 | 103 | ||
104 | PIIX_FLAG_IGN_PRESENT = (1 << 25), /* ignore PCS present bits */ | ||
105 | PIIX_FLAG_SCR = (1 << 26), /* SCR available */ | ||
104 | PIIX_FLAG_AHCI = (1 << 27), /* AHCI possible */ | 106 | PIIX_FLAG_AHCI = (1 << 27), /* AHCI possible */ |
105 | PIIX_FLAG_CHECKINTR = (1 << 28), /* make sure PCI INTx enabled */ | 107 | PIIX_FLAG_CHECKINTR = (1 << 28), /* make sure PCI INTx enabled */ |
106 | PIIX_FLAG_COMBINED = (1 << 29), /* combined mode possible */ | 108 | PIIX_FLAG_COMBINED = (1 << 29), /* combined mode possible */ |
@@ -314,7 +316,7 @@ static struct ata_port_info piix_port_info[] = { | |||
314 | { | 316 | { |
315 | .sht = &piix_sht, | 317 | .sht = &piix_sht, |
316 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED | | 318 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED | |
317 | PIIX_FLAG_CHECKINTR, | 319 | PIIX_FLAG_CHECKINTR | PIIX_FLAG_IGN_PRESENT, |
318 | .pio_mask = 0x1f, /* pio0-4 */ | 320 | .pio_mask = 0x1f, /* pio0-4 */ |
319 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 321 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
320 | .udma_mask = 0x7f, /* udma0-6 */ | 322 | .udma_mask = 0x7f, /* udma0-6 */ |
@@ -325,7 +327,8 @@ static struct ata_port_info piix_port_info[] = { | |||
325 | { | 327 | { |
326 | .sht = &piix_sht, | 328 | .sht = &piix_sht, |
327 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED_ICH6 | | 329 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED_ICH6 | |
328 | PIIX_FLAG_CHECKINTR | ATA_FLAG_SLAVE_POSS, | 330 | PIIX_FLAG_CHECKINTR | ATA_FLAG_SLAVE_POSS | |
331 | PIIX_FLAG_SCR, | ||
329 | .pio_mask = 0x1f, /* pio0-4 */ | 332 | .pio_mask = 0x1f, /* pio0-4 */ |
330 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 333 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
331 | .udma_mask = 0x7f, /* udma0-6 */ | 334 | .udma_mask = 0x7f, /* udma0-6 */ |
@@ -337,7 +340,7 @@ static struct ata_port_info piix_port_info[] = { | |||
337 | .sht = &piix_sht, | 340 | .sht = &piix_sht, |
338 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED_ICH6 | | 341 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED_ICH6 | |
339 | PIIX_FLAG_CHECKINTR | ATA_FLAG_SLAVE_POSS | | 342 | PIIX_FLAG_CHECKINTR | ATA_FLAG_SLAVE_POSS | |
340 | PIIX_FLAG_AHCI, | 343 | PIIX_FLAG_SCR | PIIX_FLAG_AHCI, |
341 | .pio_mask = 0x1f, /* pio0-4 */ | 344 | .pio_mask = 0x1f, /* pio0-4 */ |
342 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 345 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
343 | .udma_mask = 0x7f, /* udma0-6 */ | 346 | .udma_mask = 0x7f, /* udma0-6 */ |
@@ -349,7 +352,7 @@ static struct ata_port_info piix_port_info[] = { | |||
349 | .sht = &piix_sht, | 352 | .sht = &piix_sht, |
350 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED_ICH6 | | 353 | .host_flags = ATA_FLAG_SATA | PIIX_FLAG_COMBINED_ICH6 | |
351 | PIIX_FLAG_CHECKINTR | ATA_FLAG_SLAVE_POSS | | 354 | PIIX_FLAG_CHECKINTR | ATA_FLAG_SLAVE_POSS | |
352 | PIIX_FLAG_AHCI, | 355 | PIIX_FLAG_SCR | PIIX_FLAG_AHCI, |
353 | .pio_mask = 0x1f, /* pio0-4 */ | 356 | .pio_mask = 0x1f, /* pio0-4 */ |
354 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 357 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
355 | .udma_mask = 0x7f, /* udma0-6 */ | 358 | .udma_mask = 0x7f, /* udma0-6 */ |