Re: Driver access ito PCI card memory space question.

From: Richard B. Johnson
Date: Wed Oct 06 2004 - 18:02:56 EST


On Wed, 6 Oct 2004, Alan Kilian wrote:



Folks,

I'm not sure how to access the memory spaces on my PCI card.

I do

From /var/log/messages:

SSE: Start of card attachment.
SSE: Found a DeCypher card, interrupting on line 3
SSE: Bar0 From 0xfeaff000 to 0xfeafffff F=0x200 MEMORY space
SSE: Bar1 From 0xfeafc000 to 0xfeafdfff F=0x200 MEMORY space
SSE: Bar2 From 0xfe000000 to 0xfe7fffff F=0x200 MEMORY space

My driver detects the card, and asks about the memory areas.


Please look at a driver module that uses PCI. There are plenty in
the kernel.


Cheers,
Dick Johnson
Penguin : Linux version 2.6.5-1.358-noreg on an i686 machine (5537.79 BogoMips).
Note 96.31% of all statistics are fiction.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/