Not working lan91cxx_sc drv
ariga masahiro <ariga <at> link-lab.co.jp>
2007-10-01 05:00:30 GMT
I am the same person who posted "Question about interrupt trigger
but since then I am encountered the most serious problem so I change title
and post this
most-urgent,most-ernest and most-desperate mail.
As I said,
My target uses SMSC LAN91C111 chip,CPU is SH7709S.
As ethernet interrupt,uses IRQ3 line.
I build "net" template,eCos source is updated by CVS checkout.
As I inserted LAN91C111's mask routine in the ISR,
I succeeded to entered into DSR.
(This interrupt was caused not by eCos-proper code, but by my tampered
routine.I will later explain.)
But although RCV-INT is assserted,delivering-packet routine never called,
so I entered repetedly ISR and DSR.
Then I discovered LAN91C111 driver's receive routine was never called.
Please forgive me long mail,but I try to
inform you as correctly as possible.
First I relate current problem,and later describe what I have tampered with.
I register SMSC interrupt ruoitne
smsc_lan91cxx_init(struct cyg_netdevtab_entry *tab)