Re: working with PCI config registers (extensively)

2006-06-09 Thread Andriy Gapon
on 09/06/2006 08:35 M. Warner Losh said the following: In message: [EMAIL PROTECTED] Andriy Gapon [EMAIL PROTECTED] writes: : : I am writing a driver for some PCI hardware that does not have any IO : ports or IO memory (and thus does not have any useful BARs), but rather : it is

Re: working with PCI config registers (extensively)

2006-06-08 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Andriy Gapon [EMAIL PROTECTED] writes: : : I am writing a driver for some PCI hardware that does not have any IO : ports or IO memory (and thus does not have any useful BARs), but rather : it is controlled and communicated with by writes and reads of

working with PCI config registers (extensively)

2006-06-07 Thread Andriy Gapon
I am writing a driver for some PCI hardware that does not have any IO ports or IO memory (and thus does not have any useful BARs), but rather it is controlled and communicated with by writes and reads of certain vendor-specific PCI configuration registers. I see that I can use pci_read_config()