Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 45344 Details for
Bug 73484
gentoo-dev-sources patches for amd64 compaq R3000 series and alps touchpad driver
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
cardbus patch
cardbus_pci_probe.patch (text/plain), 1.17 KB, created by
Mike Doty (RETIRED)
on 2004-12-05 14:39:40 UTC
(
hide
)
Description:
cardbus patch
Filename:
MIME Type:
Creator:
Mike Doty (RETIRED)
Created:
2004-12-05 14:39:40 UTC
Size:
1.17 KB
patch
obsolete
>--- a/drivers/pci/probe.c 2004-07-09 10:36:51.000000000 +0000 >+++ b/drivers/pci/probe.c 2004-07-09 10:39:38.000000000 +0000 >@@ -326,6 +326,16 @@ > return child; > } > >+static void __devinit pci_fixup_parent_subordinate_busnr(struct pci_bus *child, int max) >+{ >+ struct pci_bus *parent = child->parent; >+ while (parent->parent && parent->subordinate < max) { >+ parent->subordinate = max; >+ pci_write_config_byte(parent->self, PCI_SUBORDINATE_BUS, max); >+ parent = parent->parent; >+ } >+} >+ > unsigned int __devinit pci_scan_child_bus(struct pci_bus *bus); > > /* >@@ -407,7 +417,13 @@ > > if (!is_cardbus) { > child->bridge_ctl = PCI_BRIDGE_CTL_NO_ISA; >- >+ /* >+ * Adjust subordinate busnr in parent buses. >+ * We do this before scanning for children because >+ * some devices may not be detected if the bios >+ * was lazy. >+ */ >+ pci_fixup_parent_subordinate_busnr(child, max); > /* Now we can scan all subordinate buses... */ > max = pci_scan_child_bus(child); > } else { >@@ -417,6 +433,7 @@ > * inserted later. > */ > max += CARDBUS_RESERVE_BUSNR; >+ pci_fixup_parent_subordinate_busnr(child, max); > } > /* > * Set the subordinate bus number to its real value.
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 73484
: 45344 |
45345