[PATCH] ACPI: don't complain about PCI root bridges without _SEG

DORMANTno replies

From: Bjorn Helgaas <hidden>
Date: 2005-07-27 22:32:17

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 <redacted>

Index: work/drivers/acpi/glue.c
===================================================================
--- work.orig/drivers/acpi/glue.c	2005-07-25 15:04:22.000000000 -0600
+++ work/drivers/acpi/glue.c	2005-07-26 15:25:26.000000000 -0600
@@ -168,9 +168,6 @@
 	status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL, &seg);
 	if (status == AE_NOT_FOUND) {
 		/* Assume seg = 0 */
-		printk(KERN_INFO PREFIX
-		       "Assume root bridge [%s] segment is 0\n",
-		       (char *)buffer.pointer);
 		status = AE_OK;
 		seg = 0;
 	}


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help