Subodh Nijsure wrote: > > Hello, > > May be try this? > > chip_registerbase = (unsigned > long)ioremap_nocache(CHIP_PHYSICAL_ADDRESS, > CHIP_MEM_SIZE); > printk("Linux kernel Memory mapped base register %lX \n", > chip_registerbase); > > Then you can read and write to your chip via *chip_registerbase >
Sorry, but I forgot to say that I need a way to access the peripheral from userspace without writing a kernel module. I need it only for a simple test and therefore it does not make sense to me to write a driver. Of course, writing a driver is not htat dirty :-) Matthias ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/