mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-28 16:43:09 +00:00
Don't try to probe the PnP BIOS if ACPI is active.
This commit is contained in:
parent
fad334b0b9
commit
a91d0e1ccf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85761
@ -523,6 +523,11 @@ pnpbios_identify(driver_t *driver, device_t parent)
|
||||
if (pt == NULL)
|
||||
return;
|
||||
|
||||
/* ACPI already active */
|
||||
if (devclass_get_softc(devclass_find("ACPI"), 0) != NULL)
|
||||
return;
|
||||
|
||||
/* get count of PnP devices */
|
||||
bzero(&args, sizeof(args));
|
||||
args.seg.code16.base = BIOS_PADDRTOVADDR(pt->pmentrybase);
|
||||
args.seg.code16.limit = 0xffff; /* XXX ? */
|
||||
|
@ -523,6 +523,11 @@ pnpbios_identify(driver_t *driver, device_t parent)
|
||||
if (pt == NULL)
|
||||
return;
|
||||
|
||||
/* ACPI already active */
|
||||
if (devclass_get_softc(devclass_find("ACPI"), 0) != NULL)
|
||||
return;
|
||||
|
||||
/* get count of PnP devices */
|
||||
bzero(&args, sizeof(args));
|
||||
args.seg.code16.base = BIOS_PADDRTOVADDR(pt->pmentrybase);
|
||||
args.seg.code16.limit = 0xffff; /* XXX ? */
|
||||
|
Loading…
Reference in New Issue
Block a user