Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Seven more unaligned PCI configuration space access bugs



On Fri, Feb 15, 2008 at 04:33:17PM +0200, Andreas Gustafsson wrote:
> Since pci_conf_read() and pci_conf_write() were changed to check the
> alignment of PCI configuration space accesses on the x86 platforms,
> there have been several bug reports about unaligned accesses.

My PCI book (rev 2.0) says that PCI config space cycles can be 8, 16
or 32 bits (controlled by the byte enables).

Maybe there ought to be a pci_conf_read_8() etc ?

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index