5 Jan 2011 12:10
Re: seabios: acpi: add _RMV control method for PCI devices
Gleb Natapov <gleb <at> redhat.com>
2011-01-05 11:10:08 GMT
2011-01-05 11:10:08 GMT
On Wed, Dec 08, 2010 at 03:08:59PM -0200, Marcelo Tosatti wrote:
> Use _RMV method to indicate whether device can be removed.
>
> Data is retrieved from QEMU via I/O port 0xae0c.
>
> Signed-off-by: Marcelo Tosatti <mtosatti <at> redhat.com>
>
Acked-by: Gleb Natapov <gleb <at> redhat.com>
> Index: seabios/src/acpi-dsdt.dsl
> ===================================================================
> --- seabios.orig/src/acpi-dsdt.dsl
> +++ seabios/src/acpi-dsdt.dsl
> <at> <at> -122,6 +122,12 <at> <at> DefinitionBlock (
> B0EJ, 32,
> }
>
> + OperationRegion(RMVC, SystemIO, 0xae0c, 0x04)
> + Field(RMVC, DWordAcc, NoLock, WriteAsZeros)
> + {
> + PCRM, 32,
> + }
> +
> #define hotplug_slot(name, nr) \
> Device (S##name) { \
> Name (_ADR, nr##0000) \
> <at> <at> -245,11 +251,14 <at> <at> DefinitionBlock (
> {
> Return (0x00)
> }
(Continue reading)
RSS Feed