lkml.org 
[lkml]   [2004]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectDriver access ito PCI card memory space question.
Date
From


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.

Then I do request_mem_area(0xfeaff000,4095, "SSE");

Then I do a readl(0xfeaff100); and get this:

Unable to handle kernel paging request at virtual address feaff100

Any hints? Maybe these are byte-addresses, and I need to do:
readl(0xfeaff100>>2);

I'm just beginning this adventure, so please excuse the basic
questions.

-Alan

--
- Alan Kilian <kilian(at)timelogic.com>
Director of Bioinformatics, TimeLogic Corporation 763-449-7622
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.079 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site