This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: can get DHCP IP address, but cannot ping
> >>(2)I made the hardware interrupt disable. Is this a problem?
> >
> >Could you explain this a bit more.
>
> In the private data structure of LAN driver ( in the
> "devs_eth_sh_sn7760.inl" file) I do not set the interrupt item. I only set
> base address as following:
>
> static lan91cxx_priv_data lan91cxx_eth0_priv_data = {
>
> config_enaddr : sn7760_get_ESA,
> #ifndef CYGSEM_DEVS_ETH_SH_SN7760_REDBOOT_ESA
> enaddr: CYGDAT_DEVS_ETH_SH_SN7760_ESA,
> #endif
> #if 0
> base : (unsigned short *) SA1110_FHH_ETH_IOBASE,
> attbase : (unsigned char *) SA1110_FHH_ETH_MMBASE,
> interrupt : SA1110_IRQ_GPIO_ETH
> #else
> base : (unsigned short *) 0x94000000,
> #endif
> };
>
> It is as the same as the "innovator" platform did. Another reason is I don't
> know how to set this item.
Are you getting interrupts? If not, that is your problem. You need to
find out which interrupt line the ethernet device is using. Read the
data sheet for the device.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
- References:
- can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping
- Re: can get DHCP IP address, but cannot ping