Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36618 Details for
Bug 57327
i875P chipset issue on 2.6 (piix/ih6/libata/ata_piix)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff from 2.8.8-rc2 against 2.6.7-gentoo-r11
sata-diff (text/plain), 2.35 KB, created by
Tim Yardley
on 2004-08-01 21:06:48 UTC
(
hide
)
Description:
diff from 2.8.8-rc2 against 2.6.7-gentoo-r11
Filename:
MIME Type:
Creator:
Tim Yardley
Created:
2004-08-01 21:06:48 UTC
Size:
2.35 KB
patch
obsolete
>--- /usr/src/linux-2.6.7-gentoo-r11/drivers/scsi/ata_piix.c 2004-07-14 08:07:43.000000000 -0500 >+++ /usr/src/linux-2.6.8-rc2/drivers/scsi/ata_piix.c 2004-08-02 01:25:49.000000000 -0500 >@@ -57,6 +57,7 @@ > ich5_pata = 0, > ich5_sata = 1, > piix4_pata = 2, >+ ich6_sata = 3, > }; > > static int piix_init_one (struct pci_dev *pdev, >@@ -91,10 +92,8 @@ > * and enhanced mode, with queueing and other fancy stuff. > * This is distinguished by PCI class code. > */ >- { 0x8086, 0x2651, PCI_ANY_ID, PCI_ANY_ID, >- PCI_CLASS_STORAGE_IDE << 8, 0xffff00, ich5_sata }, >- { 0x8086, 0x2652, PCI_ANY_ID, PCI_ANY_ID, >- PCI_CLASS_STORAGE_IDE << 8, 0xffff00, ich5_sata }, >+ { 0x8086, 0x2651, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata }, >+ { 0x8086, 0x2652, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata }, > > { } /* terminate list */ > }; >@@ -138,10 +137,13 @@ > > .bmdma_setup = ata_bmdma_setup_pio, > .bmdma_start = ata_bmdma_start_pio, >- .fill_sg = ata_fill_sg, >+ .qc_prep = ata_qc_prep, >+ .qc_issue = ata_qc_issue_prot, >+ > .eng_timeout = ata_eng_timeout, > > .irq_handler = ata_interrupt, >+ .irq_clear = ata_bmdma_irq_clear, > > .port_start = ata_port_start, > .port_stop = ata_port_stop, >@@ -161,10 +163,13 @@ > > .bmdma_setup = ata_bmdma_setup_pio, > .bmdma_start = ata_bmdma_start_pio, >- .fill_sg = ata_fill_sg, >+ .qc_prep = ata_qc_prep, >+ .qc_issue = ata_qc_issue_prot, >+ > .eng_timeout = ata_eng_timeout, > > .irq_handler = ata_interrupt, >+ .irq_clear = ata_bmdma_irq_clear, > > .port_start = ata_port_start, > .port_stop = ata_port_stop, >@@ -199,6 +204,17 @@ > .udma_mask = ATA_UDMA_MASK_40C, /* FIXME: cbl det */ > .port_ops = &piix_pata_ops, > }, >+ >+ /* ich6_sata */ >+ { >+ .sht = &piix_sht, >+ .host_flags = ATA_FLAG_SATA | ATA_FLAG_SRST | >+ PIIX_FLAG_COMBINED | PIIX_FLAG_CHECKINTR | >+ ATA_FLAG_SLAVE_POSS, >+ .pio_mask = 0x03, /* pio3-4 */ >+ .udma_mask = 0x7f, /* udma0-6 ; FIXME */ >+ .port_ops = &piix_sata_ops, >+ }, > }; > > static struct pci_bits piix_enable_bits[] = { >@@ -327,13 +343,6 @@ > > static void piix_sata_phy_reset(struct ata_port *ap) > { >- if (!pci_test_config_bits(ap->host_set->pdev, >- &piix_enable_bits[ap->port_no])) { >- ata_port_disable(ap); >- printk(KERN_INFO "ata%u: port disabled. ignoring.\n", ap->id); >- return; >- } >- > if (!piix_sata_probe(ap)) { > ata_port_disable(ap); > printk(KERN_INFO "ata%u: SATA port has no device.\n", ap->id);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57327
: 36618