Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96023
b: refs/heads/master
c: 0df18ff
h: refs/heads/master
i:
  96021: fa021af
  96019: d37f60c
  96015: 854bab7
v: v3
  • Loading branch information
Yinghai Lu authored and Jesse Barnes committed May 5, 2008
1 parent c11ab26 commit 18ffd8d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 13a6ddb08e58a1bd344da7898c4e2f13bdf18c2f
refs/heads/master: 0df18ff366853cdf31e5238764ec5c63e6b5a398
7 changes: 5 additions & 2 deletions trunk/arch/x86/pci/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,16 @@ static struct dmi_system_id __devinitdata pciprobe_dmi_table[] = {
{}
};

void __init dmi_check_pciprobe(void)
{
dmi_check_system(pciprobe_dmi_table);
}

struct pci_bus * __devinit pcibios_scan_root(int busnum)
{
struct pci_bus *bus = NULL;
struct pci_sysdata *sd;

dmi_check_system(pciprobe_dmi_table);

while ((bus = pci_find_next_bus(bus)) != NULL) {
if (bus->number == busnum) {
/* Already scanned */
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/x86/pci/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ static __init int pci_access_init(void)
printk(KERN_ERR
"PCI: Fatal: No config space access function found\n");

dmi_check_pciprobe();

dmi_check_skip_isa_align();

return 0;
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86/pci/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ enum pci_bf_sort_state {
pci_dmi_bf,
};

extern void __init dmi_check_pciprobe(void);
extern void __init dmi_check_skip_isa_align(void);

/* pci-i386.c */
Expand Down

0 comments on commit 18ffd8d

Please sign in to comment.