Home
last modified time | relevance | path

Searched hist:b86f795a378fdeb873cdc464367660fb3b49c443 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dnet.hb86f795a378fdeb873cdc464367660fb3b49c443 Mon Jul 06 22:47:55 UTC 2015 Simon Glass <sjg@chromium.org> net: Allow drivers to return -ENOSYS with the write_hwaddr() method

Some drivers may want to implement this method for some of their devices but
not for others. So it is not possible to just leave the operation out of
the table. Drivers could get around this by masquerading as two separate
drivers but that seems unpleasant.

Allow the driver to return an error when it does not want to process the
write_hwaddr() method.

Signed-off-by: Simon Glass <sjg@chromium.org>