summaryrefslogtreecommitdiff
path: root/drivers/net/usb/asix.h
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2022-03-11 11:50:12 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-12 14:50:56 +0300
commit5436fb3fd4c1f31f2cc4dadf69259e633351c1ff (patch)
tree3ca17dde5f2793927957ac3e82ee2f495d7f8163 /drivers/net/usb/asix.h
parentd57da85dc4e3b7ad6e627c90f73aca51a45826d2 (diff)
downloadlinux-5436fb3fd4c1f31f2cc4dadf69259e633351c1ff.tar.xz
net: usb: asix: store chipid to avoid reading it on reset
We already read chipid on probe. There is no need to read it on reset. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/asix.h')
-rw-r--r--drivers/net/usb/asix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/asix.h b/drivers/net/usb/asix.h
index b5ac693cebf2..691f37f45238 100644
--- a/drivers/net/usb/asix.h
+++ b/drivers/net/usb/asix.h
@@ -186,6 +186,7 @@ struct asix_common_private {
u16 phy_addr;
char phy_name[20];
bool embd_phy;
+ u8 chipcode;
};
extern const struct driver_info ax88172a_info;