On Thursday 22 March 2007 15:14, Erik Mouw wrote: > > Also, i would appreciate to have the actual commands in linux to do the > > above. > > See Documentation/IO-mapping.txt, Documentation/pci.txt, LDD3 and other > driver sources. Well, i am asking this question after reading LDD3 but not understanding how it worked. On ISA i understand you use ioremap(physical address, size) to get a buffer that you can play with *pointer or better use the write read methods that are relevant. However, i don't understand how this is done in PCI. The physical address is not enough there since you need to pass on also the bus, device, function address. Btw, if you do mmap? to that area, is it still not safe to use *pointer = something? Is there a way to make it right? 10x. -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ