Re: PCI Express support for 2.4 kernel

Jeff Garzik
2003-12-16T17:56:08Z

Arjan van de Ven wrote:
> On Tue, 2003-12-16 at 18:10, Jeff Garzik wrote:
>>This is going to choke some hardware, I guarantee.
>>You always want to make sure your flush is of the same size at the
>>write. Reading a byte from an address that the hardware defines as
>>"32-bit writes only" can get ugly real quick ;-)
>
>
> also reading back addr might not be the best choice in case some
> registers have side effects on reading, it's probably better to read
> back an address that is known to be ok to read (like the vendor ID
> field)

Hum. Never seen this in a PCI config register, but it's certainly
possible... good point.

Jeff