Hello Zwane, I tried to do exactly what did you suggest. But i got always different results. May be i need anymore? Thanks, Kirill Zwane Mwaikambo wrote: >On Tue, 30 Jul 2002, Kirill Messel wrote: > >>If PCI card has 3 BAR How can i read value from BAR 3 with any offset? >>Thanks Kirill >> > >io_base = pci_resource_start(pci_dev, BAR); > >then you can outb/w/l and inb/w/l > >e.g. > >data = inb(io_base+OFFSET); > >Cheers, > Zwane > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/