Re: [PATCH v3 10/15] acpi: parallel: don't use _STA method

2020-05-04 Thread Igor Mammedov
On Mon, 4 May 2020 15:25:16 +0200 Gerd Hoffmann wrote: > On Thu, Apr 30, 2020 at 06:25:24PM +0200, Igor Mammedov wrote: > > On Wed, 29 Apr 2020 15:59:58 +0200 > > Gerd Hoffmann wrote: > > > > > The _STA method dates back to the days where we had a static DSDT. The > > > device is listed in t

Re: [PATCH v3 10/15] acpi: parallel: don't use _STA method

2020-05-04 Thread Gerd Hoffmann
On Thu, Apr 30, 2020 at 06:25:24PM +0200, Igor Mammedov wrote: > On Wed, 29 Apr 2020 15:59:58 +0200 > Gerd Hoffmann wrote: > > > The _STA method dates back to the days where we had a static DSDT. The > > device is listed in the DSDT table unconditionally and the _STA method > > checks a bit in t

Re: [PATCH v3 10/15] acpi: parallel: don't use _STA method

2020-05-04 Thread Gerd Hoffmann
Hi, > Also, it may be worth a ISA_PARALLEL_IOBASE 0x378 definition cleanup like > you did with the RTC. Next patch in series deals with that. take care, Gerd

Re: [PATCH v3 10/15] acpi: parallel: don't use _STA method

2020-04-30 Thread Igor Mammedov
On Wed, 29 Apr 2020 15:59:58 +0200 Gerd Hoffmann wrote: > The _STA method dates back to the days where we had a static DSDT. The > device is listed in the DSDT table unconditionally and the _STA method > checks a bit in the isa bridge pci config space to figure whenever a > given is isa device i

Re: [PATCH v3 10/15] acpi: parallel: don't use _STA method

2020-04-29 Thread Philippe Mathieu-Daudé
On 4/29/20 3:59 PM, Gerd Hoffmann wrote: The _STA method dates back to the days where we had a static DSDT. The device is listed in the DSDT table unconditionally and the _STA method checks a bit in the isa bridge pci config space to figure whenever a given is isa device is present or not, then

[PATCH v3 10/15] acpi: parallel: don't use _STA method

2020-04-29 Thread Gerd Hoffmann
The _STA method dates back to the days where we had a static DSDT. The device is listed in the DSDT table unconditionally and the _STA method checks a bit in the isa bridge pci config space to figure whenever a given is isa device is present or not, then evaluates to 0x0f (present) or 0x00 (absent