CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2015/03/20 14:25:10

Modified files:
        sys/dev/acpi   : acpi.c 

Log message:
The ACPI standard says that a PCI function number of FFFF can be used to refer
to all functions on a device.  This makes no sense in the context of accessing
PCI config space.  Nevertheless stsp@ has a machine with AML that tries to
do config space reads from a device where _ADR encodes function number FFFF.
This is almost certainly buggy AML, but since Linux (and presumably Windows)
boot just fine on this machine we need to work around this.  Linux effectively
treats function FFFF as function 7, which isn't present on this machine.
Instead we simulate a read from a non-existent device by returning a bit
pattern of all ones.  Writes to function FFFF will still panic.

ok mlarkin@

Reply via email to