Skip to contentSkip to conversation

net: Micrel KSZ8841/2 PCI Ethernet driver

PATCH Jens Rottmann 1 participant 1 message Jan 25, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

In ksz884x.c: read_other_addr(struct ksz_hw *hw)

"u16 data[3]" instead of "u16 data[4]" is sufficient.

And when checking if the 2nd MAC is actually stored in EEPROM or if it's only all empty (only FF) you overlooked that you're doing it wordwise, so you'll have to check "data[0] != 0xffff" instead of "data[0] != 0xff".

Best regards,
Jens Rottmann