Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1dadb3da authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Len Brown
Browse files

[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: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 6c89cce7
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -170,9 +170,6 @@ find_pci_rootbridge(acpi_handle handle, u32 lvl, void *context, void **rv)
	status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL, &seg);
	status = acpi_evaluate_integer(handle, METHOD_NAME__SEG, NULL, &seg);
	if (status == AE_NOT_FOUND) {
	if (status == AE_NOT_FOUND) {
		/* Assume seg = 0 */
		/* Assume seg = 0 */
		printk(KERN_INFO PREFIX
		       "Assume root bridge [%s] segment is 0\n",
		       (char *)buffer.pointer);
		status = AE_OK;
		status = AE_OK;
		seg = 0;
		seg = 0;
	}
	}