Val Henson wrote:
> Hm, good point. I should figure out why read_eeprom isn't working and
> fix that instead. Maybe the driver should be changed to attempt to
> read the MAC from the eeprom and then read from the registers if that
> fails, instead of relying on flags.
Yeah. There is at least one other driver (pcnet32?) that does something
like this...
probe:
dev->dev_addr[] = read_eeprom();
if (!is_valid_ether_addr(dev->dev_addr))
{ read from card registers }
-- Jeff Garzik | Only so many songs can be sung Building 1024 | with two lips, two lungs, and one tongue. MandrakeSoft | - nomeansno - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Oct 23 2001 - 21:00:23 EST