Dear all,

i am trying to make work properly the dm9000 driver in a custom board with coldfire mcf5307.

Until now, this is what i did:
- driver was already there, inside linux-2.6.X folder, i just enabled in the config a selectable option for MCF5307.
- i added some writesb,w,l/readsb,w,l functions in nomm_io.h

arch/m68k/include/asm/io_no.h

/** angelo, DM9000 support for MCF5307, start */
#define readsb(b,addr,count) readb(addr)
#define readsw(b,addr,count) readw(addr)
#define readsl(b,addr,count) readl(addr)

#define writesb(b,addr,count) (io_insb((unsigned int)b,addr,count))
#define writesw(b,addr,count) (io_insw((unsigned int)b,addr,count))
#define writesl(b,addr,count) (io_insl((unsigned int)b,addr,count))
/* angelo, DM9000 support for MCF5307, end */

kernel compile fine, but i just see the following line at boot:

....
dm9000 Ethernet Driver, V1.31
....

and nothing else dm9000 related, so no dm9000_probe is executed, and so the chip is not initialized.


Any help is really appreciated,
Thanks in advice
angelo


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to