Hi,
My problem is that before the HAL_PCI_IO_WRITE_UINT8 instruction I succeed
to read the MAC address but after it I read other data which are not the
real MAC address.
What is the meaning of these lines in Rhine ethernet driver?
diag_printf("Reload ESA from EEPROM...");
HAL_PCI_IO_WRITE_UINT8(cpd->base+RHINE_EECSR, 0x20);
for (i = 0; i < 150; i++)
{
HAL_PCI_IO_READ_UINT8(cpd->base+RHINE_EECSR, tmp);
if (!(tmp & 0x20))
{
break;
}
}
if (tmp & 0x20)
diag_printf("Timed out\n");
else
diag_printf("Done\n");
Thanks in advance.
Guillaume MENANT
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss