Re: Help with reading register

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

 



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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux