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 147204 Details for
Bug 226950
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]
fix udma mode issue
sb600_ide_udma_mode.patch (text/plain), 935 bytes, created by
Xin-Yun Liu (Wolke Liu)
on 2007-02-02 09:27:18 UTC
(
hide
)
Description:
fix udma mode issue
Filename:
MIME Type:
Creator:
Xin-Yun Liu (Wolke Liu)
Created:
2007-02-02 09:27:18 UTC
Size:
935 bytes
patch
obsolete
>--- drivers/ide/pci/atiixp.c.orig 2007-02-02 05:54:49.789527848 +0800 >+++ drivers/ide/pci/atiixp.c 2007-02-02 05:54:49.785528456 +0800 >@@ -427,8 +427,12 @@ > > static void __devinit init_hwif_atiixp(ide_hwif_t *hwif) > { >+ u8 udma_mode = 0; >+ u8 ch = hwif->channel; >+ struct pci_dev *pdev = hwif->pci_dev; >+ > if (!hwif->irq) >- hwif->irq = hwif->channel ? 15 : 14; >+ hwif->irq = ch ? 15 : 14; > > hwif->autodma = 0; > hwif->tuneproc = &atiixp_tuneproc; >@@ -444,8 +448,12 @@ > hwif->mwdma_mask = 0x06; > hwif->swdma_mask = 0x04; > >- /* FIXME: proper cable detection needed */ >- hwif->udma_four = 1; >+ pci_read_config_byte(pdev, ATIIXP_IDE_UDMA_MODE + ch, &udma_mode); >+ if ((udma_mode & 0x07) >= 0x04 || (udma_mode & 0x70) >= 0x40) >+ hwif->udma_four = 1; >+ else >+ hwif->udma_four = 0; >+ > hwif->ide_dma_host_on = &atiixp_ide_dma_host_on; > hwif->ide_dma_host_off = &atiixp_ide_dma_host_off; > hwif->ide_dma_check = &atiixp_dma_check;
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 226950
:
147194
| 147204 |
158604