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 144162 Details for
Bug 218428
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 for ATI SB600 legacy IDE mode
linux-2.6.18-rhel5-b2-sb600-sata.patch (text/plain), 1.68 KB, created by
Xin-Yun Liu (Wolke Liu)
on 2006-12-21 06:17:27 UTC
(
hide
)
Description:
patch for ATI SB600 legacy IDE mode
Filename:
MIME Type:
Creator:
Xin-Yun Liu (Wolke Liu)
Created:
2006-12-21 06:17:27 UTC
Size:
1.68 KB
patch
obsolete
>--- drivers/pci/quirks.c.ori 2006-09-20 11:42:06.000000000 +0800 >+++ drivers/pci/quirks.c 2006-12-21 01:34:30.000000000 +0800 >@@ -795,6 +795,35 @@ > DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_PCI_MASTER, quirk_mediagx_master ); > > /* >+ * ATI SB600 SATA controller supports 4 modes: Legacy IDE, Native IDE, AHCI >+ * and RAID. >+ * IDE modes are used for compatibility with some old OS without AHCI driver, >+ * but now they are not necessary for Linux since the kernel has supported >+ * AHCI. >+ * Some BIOS set Legacy IDE as SB600 SATA's default mode, but the AHCI driver >+ * cannot run in Legacy IDE. >+ * So, we should set the controller back to AHCI mode if it has been set as IDE >+ * by BIOS. >+ */ >+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 = 0x010601; >+ } >+} >+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 > * secondary channels respectively). If the device reports Compatible mode >@@ -843,7 +872,6 @@ > first_bar, last_bar, pci_name(dev)); > } > DECLARE_PCI_FIXUP_HEADER(PCI_ANY_ID, PCI_ANY_ID, quirk_ide_bases); >- > /* > * Ensure C0 rev restreaming is off. This is normally done by > * the BIOS but in the odd case it is not the results are corruption
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 Raw
Actions:
View
Attachments on
bug 218428
: 144162