summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-08-28 02:55:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-08-28 02:55:19 +0000
commitcfd6786ccb7a6d9250c9919ac0e0ba0b2569ed2b (patch)
treeaa29c2780dc5fbc650d159c3006be47109b43b33 /sys/dev/usb
parent99ec734f9db9c18b5b313a35757d0ce78ce6b02a (diff)
We don't need to do a PHY select for AX88178 but we should
do a generic soft reset before doing a specific one. ok dlg@ deraadt@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_axe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index 6ab2090afc3..7dba3076ab6 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_axe.c,v 1.36 2005/08/28 02:53:49 jsg Exp $ */
+/* $OpenBSD: if_axe.c,v 1.37 2005/08/28 02:55:18 jsg Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003
@@ -584,9 +584,9 @@ USB_ATTACH(axe)
}
}
- axe_cmd(sc, AXE_CMD_SW_PHY_SELECT, 0, 0, NULL);
- usbd_delay_ms(sc->axe_udev, 150);
/* soft reset */
+ axe_cmd(sc, AXE_CMD_SW_RESET_REG, 0, 0, NULL);
+ usbd_delay_ms(sc->axe_udev, 150);
axe_cmd(sc, AXE_CMD_SW_RESET_REG, 0,
AXE_178_RESET_PRL | AXE_178_RESET_MAGIC, NULL);
usbd_delay_ms(sc->axe_udev, 150);