Skip to content
Snippets Groups Projects
Commit b86f795a authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent fbc4b8af
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment