Hi,
I write device driver for PCI board.

I read the following adresses from Base Address0 ...4 registers:
0xb800, 0xcc000, 0xce000, 0xb400, 0xb000
Addresses 0xb800, 0xb400, 0xb000 are I/O ports and 0xcc000, 0xce000
are memory. 
However if I access memory addresses (0xcc000, 0xce000) the system
crashes.
Should I first map memory addresses in the kernel virtual space and 
then access it? How to do it?

Are all the PCI boards allowed to generate interrupt or do we need to
allow it eg. by writing to the PCI command register ?

Could anyone help?

Could you make CC to me because I am not on the emailing list?
       Thank you,
         Maciek


-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/dmentre/smp-howto/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to