Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 142116 Details for
Bug 192658
wrong PCI vendor ID set for PCI-Express NICs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from kernel 2.6.24 to fix MMCONFIG behaviour
2.6.23-mmconfig-pcie.patch (text/plain), 1.14 KB, created by
Marek Kubica
on 2008-01-29 14:11:10 UTC
(
hide
)
Description:
Patch from kernel 2.6.24 to fix MMCONFIG behaviour
Filename:
MIME Type:
Creator:
Marek Kubica
Created:
2008-01-29 14:11:10 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c >index 2f75d69..c5ca313 100644 >--- a/drivers/pci/probe.c >+++ b/drivers/pci/probe.c >@@ -455,22 +455,6 @@ struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev, int > return child; > } > >-static void pci_enable_crs(struct pci_dev *dev) >-{ >- u16 cap, rpctl; >- int rpcap = pci_find_capability(dev, PCI_CAP_ID_EXP); >- if (!rpcap) >- return; >- >- pci_read_config_word(dev, rpcap + PCI_CAP_FLAGS, &cap); >- if (((cap & PCI_EXP_FLAGS_TYPE) >> 4) != PCI_EXP_TYPE_ROOT_PORT) >- return; >- >- pci_read_config_word(dev, rpcap + PCI_EXP_RTCTL, &rpctl); >- rpctl |= PCI_EXP_RTCTL_CRSSVE; >- pci_write_config_word(dev, rpcap + PCI_EXP_RTCTL, rpctl); >-} >- > static void pci_fixup_parent_subordinate_busnr(struct pci_bus *child, int max) > { > struct pci_bus *parent = child->parent; >@@ -517,8 +501,6 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass > pci_write_config_word(dev, PCI_BRIDGE_CONTROL, > bctl & ~PCI_BRIDGE_CTL_MASTER_ABORT); > >- pci_enable_crs(dev); >- > if ((buses & 0xffff00) && !pcibios_assign_all_busses() && !is_cardbus) { > unsigned int cmax, busnr; > /*
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 192658
:
131032
|
131059
|
131061
|
132870
|
133411
|
133413
|
133414
|
133415
| 142116