]> git.sur5r.net Git - u-boot/commit
net: asix: add write_hwaddr function
authorLucas Stach <dev@lynxeye.de>
Wed, 22 Aug 2012 11:04:59 +0000 (11:04 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2012 17:36:30 +0000 (12:36 -0500)
commit58f8fab8a444424e9f0dcb8f6218350a736b5f62
tree2b40ca607307357f9f8ca0bfa121e3ae5bd360ac
parent5fae53d0f1554d35f159a386cd16edf94838279d
net: asix: add write_hwaddr function

All ASIX chipsets aside from AX88172 are able to set the MAC
address on the hardware level. Add a function to expose this
ability.

To differentiate between chip types we now carry flags as driver
private data. Also while touching the asix_dongles array
constify this.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/eth/asix.c