Messages in this thread |  | | Date | Fri, 19 Oct 2001 00:26:23 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH] Yellowfin bug fix for Symbios cards |
| |
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/
|  |