PCI: enable pci=bfsort by default on future Dell systems
commit6e8af08dfa40b747002207d3ce8e8b43a050d99f
authorNarendra_K@Dell.com <Narendra_K@Dell.com>
Tue, 14 Dec 2010 17:57:12 +0000 (14 09:57 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 14 Jan 2011 16:55:41 +0000 (14 08:55 -0800)
tree983f773e009a699b5bfbfc9cd18926b5c0d49c53
parentfe31e69740eddc7316071ed5165fed6703c8cd12
PCI: enable pci=bfsort by default on future Dell systems

This patch enables pci=bfsort by default on future Dell systems.
It reads SMBIOS type 0xB1 vendor specific record and sets pci=bfsort
accordingly.

Offset  Name    Length  Value   Description

04      Flags0  Word    Varies  Bits 9-10
                                - 10:9 = 00  Unknown
                                - 10:9 = 01  Breadth First
                                - 10:9 = 10  Depth First
                                - 10:9 = 11  Reserved

1. Any time pci=bfsort has to be enabled on a system, we need to add the
   model number of the system to the white list. With this patch, that
   is not required.

2. Typically, model number has to be added to the white list when the
   system is under development. With this change, that is not required.

Signed-off-by: Jordan Hargrave <jordan_hargrave@dell.com>
Signed-off-by: Narendra K <narendra_k@dell.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/common.c