Re: [PATCH v3 09/15] net: dsa: Add support for switch EEPROM access

From: Andrew Lunn
Date: Thu Oct 30 2014 - 22:41:53 EST


> As suspected, ethtool will attempt to read a zero-length eeprom.
>
> The following patch should solve the problem. Not sure if it is worth it,
> though, since this will change behavior for existing drivers.

Yes, it changes behaviour, but it does make it more consistent.

Probably it should be up to core network people to decide if this is
the write fix or leave it as is.

Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/