From cfd6786ccb7a6d9250c9919ac0e0ba0b2569ed2b Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 28 Aug 2005 02:55:19 +0000 Subject: 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@ --- sys/dev/usb/if_axe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/usb') 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); -- cgit v1.2.3