When using ethernet driver in Redboot.
Call stack:
 net_init()
 net_io_init()
 net_io_control( comm, __COMMCTL_IRQ_DISABLE )
 vector = eth_drv_int_vector()
 eth_drv_int_vector(void)
 MYDRIVER_int_vector(struct eth_drv_sc *sc);

Here eth_drv_int_vector() need MYDRIVER_int_vector() to return its interrupt vector, but on my target, this ethernet device does not use any interrupt resource.

How to return the vector? Presently, I return 0, and it works.
Since 0 is a valid vector used by other driver, I suspect it is not good.

Thanks in advance.

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to