Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 153804 Details for
Bug 226947
Can't install OS on ATI SB600 chipset with legacy IDE mode
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL4.6: set it back to ahci mode
226947.patch (text/plain), 1.58 KB, created by
Prarit Bhargava
on 2007-04-30 15:39:22 UTC
(
hide
)
Description:
RHEL4.6: set it back to ahci mode
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2007-04-30 15:39:22 UTC
Size:
1.58 KB
patch
obsolete
>Backport of > >http://marc.info/?l=git-commits-head&m=116669194105116&w=2 > >Add IDE quirk for SB600 to set controller back to ACHI mode when booted in >Legacy Mode. > >Resolves BZ 226947. > >Successfully tested by me on HP5750. > >--- linux-2.6.9.orig/drivers/pci/quirks.c 2007-04-30 05:27:22.000000000 -0400 >+++ linux-2.6.9/drivers/pci/quirks.c 2007-04-30 06:28:10.000000000 -0400 >@@ -626,6 +626,22 @@ static void __init quirk_mediagx_master( > } > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_PCI_MASTER, quirk_mediagx_master ); > >+static void __devinit quirk_sb600_sata(struct pci_dev *pdev) >+{ >+ if ((pdev->class >> 8) == PCI_CLASS_STORAGE_IDE) { >+ u8 tmp; >+ >+ pci_read_config_byte(pdev, 0x40, &tmp); >+ pci_write_config_byte(pdev, 0x40, tmp|1); >+ pci_write_config_byte(pdev, 0x9, 1); >+ pci_write_config_byte(pdev, 0xa, 6); >+ pci_write_config_byte(pdev, 0x40, tmp); >+ >+ pdev->class = PCI_CLASS_STORAGE_SATA_AHCI; >+ } >+} >+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP600_SATA, quirk_sb600_sata); >+ > /* > * As per PCI spec, ignore base address registers 0-3 of the IDE controllers > * running in Compatible mode (bits 0 and 2 in the ProgIf for primary and >--- linux-2.6.9.orig/include/linux/pci_ids.h 2007-04-30 05:27:29.000000000 -0400 >+++ linux-2.6.9/include/linux/pci_ids.h 2007-04-30 06:20:13.000000000 -0400 >@@ -15,6 +15,7 @@ > #define PCI_CLASS_STORAGE_FLOPPY 0x0102 > #define PCI_CLASS_STORAGE_IPI 0x0103 > #define PCI_CLASS_STORAGE_RAID 0x0104 >+#define PCI_CLASS_STORAGE_SATA_AHCI 0x10601 > #define PCI_CLASS_STORAGE_OTHER 0x0180 > > #define PCI_BASE_CLASS_NETWORK 0x02
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 226947
:
147192
| 153804 |
154657
|
155117