Hello,
> #define BCSRADDR 0x04500000
>
...
> static int PQ2FADS_GPL_open(struct inode *inode,struct file *filp)
> {
> PQ2FADS_GPL_CSR=(PQ2FADS_BCSR*)BCSRADDR;possible you have to change physical address to logical see ioremap. achim
Hello,
> #define BCSRADDR 0x04500000
>
...
> static int PQ2FADS_GPL_open(struct inode *inode,struct file *filp)
> {
> PQ2FADS_GPL_CSR=(PQ2FADS_BCSR*)BCSRADDR;possible you have to change physical address to logical see ioremap. achim