Hello all:
I have PCI Memory card(SBS Broadcasting Memory card 4Mega Byte Mem on board) with a
manual.I have the driver for Windows NT, but my realtime network was constructed on
DOS,Linux,Windows and IRIX,True64. I have read a lot of the message and documents
about the driver programming for PCI board,I have following questions:
1. I use the PCI BIOS functions to read the configration of the PCI board. inlucding
BASE Address of Control Status Registers
(CSR)and Base Memory Address.it were something like this 0x3800400,0x4000000. they
are 32bit address. According the user manual, the PCI board' CSR and Memory on board
have been mapped to the address above. how can i access it? use inl,inb,or
readb readw or wirteb........etc?
0. or i just remap PCI memory area at 0x40000000,size 4M, like following?:
char * baseptr = ioremap(0x40000000, 4*1024*1024);
2. Can i access the memory simply via a pointer?
3. if i can access it via a pointer in driver module, can i access it from user
space? or something just like following:
mystruct *mystr;
pointer_in_driver<---------------some remap procedure ------------------->mystr;
Jeffrey
[EMAIL PROTECTED]
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/