Re: iasl

Ducrot Bruno
2003-05-12T09:48:16Z

On Fri, May 09, 2003 at 10:37:08PM +0000, sjb wrote:
> Moore, Robert wrote:
>
> >In this case, we know that PCI_Config space is always accessed by 32-bit
> >reads/writes, so change the Op region definition to length 4.
>
> OK .. so I change the 0x01 here
>
> >>>> OperationRegion (PIUC, PCI_Config, 0x74, 0x01)
>
> to a 0x04 and re-compile and .. *drum roll* ..
>
> Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 380 Optimizations
>
> Excellent!
>

The _only way_ to fix *correctly* this error is to know the
definition of all Field like

Field (PIUC, ...)
{
...
}

But you didn't give us this info.

For example, if it is
OperationRegion (PIUC, PCI_Config, 0x74, 0x01)
Field (REGS, DWordAcc, NoLock, Preserve)
({
FOO, 8
})

Then a better fix is to make this:

Field (REGS, DWordAcc, NoLock, Preserve)
changed as:
Field (REGS, ByteAcc, NoLock, Preserve)

--
Ducrot Bruno

-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.