help: network cannot startup from FLASH
guo_zhenglin
guo_zl9 at hotmail.com
Sun Mar 23 22:04:01 EST 2003
I modify file: arch/ppc/8xx_io/enet.c:
------original text ------------------------------------
int __init scc_enet_init(void)
{
......
#ifndef CONFIG_MBX
for (i=5; i>=0; i--)
*eap++ = dev->dev_addr[i] = bd->bi_enetaddr[i];
#else
for (i=5; i>=0; i--)
dev->dev_addr[i] = *eap++;
#endif
------after modified ------------------------------------
int __init scc_enet_init(void)
{
......
#ifndef CONFIG_MBX
for (i=5; i>=0; i--)
*eap++ = dev->dev_addr[i] = bd->bi_enetaddr[i];
#else
for (i=5; i>=0; i--)
*eap++ = dev->dev_addr[i] = bd->bi_enetaddr[i];
/* dev->dev_addr[i] = *eap++; */
#endif
then network MAC can be recognised correctly ,and BOOTP can get IP
address.
but I don't know that reason.
More information about the linux-mtd
mailing list