aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2005-07-27 18:32:00 -0400
committerLen Brown <len.brown@intel.com>2005-08-12 01:10:29 -0400
commit1dadb3dadfaa01890fc10df03f0dd03a9f8774b2 (patch)
treed61020f32e56881a5f9c6256dcf48b383c77ed5d /drivers/acpi
parent6c89cce75c6f93088a5a2a25bb9674a9194592cc (diff)
[ACPI] don't complain about PCI root bridges without _SEG
There are lots of single-PCI-segment machines that don't supply _SEG for the root bridges. The PCI root bridge driver silently assumes the segment to be zero in this case, so glue.c shouldn't complain either. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/glue.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index 1943461489c2..e36c5da2b31a 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -170,9 +170,6 @@ find_pci_rootbridge(acpi_handle handle, u32 lvl, void *context, void **rv)
170 status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL, &seg); 170 status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL, &seg);
171 if (status == AE_NOT_FOUND) { 171 if (status == AE_NOT_FOUND) {
172 /* Assume seg = 0 */ 172 /* Assume seg = 0 */
173 printk(KERN_INFO PREFIX
174 "Assume root bridge [%s] segment is 0\n",
175 (char *)buffer.pointer);
176 status = AE_OK; 173 status = AE_OK;
177 seg = 0; 174 seg = 0;
178 } 175 }