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 297689 Details for
Bug 436324
RHEL4 installer kernels don't boot on a Intel DG965RY motherboard (G965 chipset)
[?]
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]
Disable PCI IO & MEM access on a device we're probing for BAR size
pci-read-bases.patch (text/plain), 1.05 KB, created by
David Howells
on 2008-03-11 23:38:00 UTC
(
hide
)
Description:
Disable PCI IO & MEM access on a device we're probing for BAR size
Filename:
MIME Type:
Creator:
David Howells
Created:
2008-03-11 23:38:00 UTC
Size:
1.05 KB
patch
obsolete
>--- linux-2.6.9/drivers/pci/probe.c.orig 2008-03-11 16:54:05.000000000 -0400 >+++ linux-2.6.9/drivers/pci/probe.c 2008-03-11 16:54:18.000000000 -0400 >@@ -105,8 +105,13 @@ static void pci_read_bases(struct pci_de > { > unsigned int pos, reg, next; > u32 l, sz; >+ u16 cmd, ncmd; > struct resource *res; > >+ pci_read_config_word(dev, PCI_COMMAND, &cmd); >+ ncmd = cmd & ~(PCI_COMMAND_IO | PCI_COMMAND_MEMORY); >+ pci_write_config_word(dev, PCI_COMMAND, ncmd); >+ > for(pos=0; pos<howmany; pos = next) { > next = pos+1; > res = &dev->resource[pos]; >@@ -153,7 +158,9 @@ static void pci_read_bases(struct pci_de > } > #else > if (szhi) { >+ pci_write_config_word(dev, PCI_COMMAND, cmd); > printk(KERN_ERR "PCI: Unable to handle 64-bit BAR for device %s\n", pci_name(dev)); >+ pci_write_config_word(dev, PCI_COMMAND, ncmd); > res->start = 0; > res->flags = 0; > } else if (lhi) { >@@ -187,6 +194,8 @@ static void pci_read_bases(struct pci_de > } > } > } >+ >+ pci_write_config_word(dev, PCI_COMMAND, cmd); > } > > void __devinit pci_read_bridge_bases(struct pci_bus *child)
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 436324
: 297689