diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-08-02 21:57:57 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-08-02 21:57:57 +0000 |
commit | b85ec83c3f0b98a9bd5cc408ebfa08e8654c60c3 (patch) | |
tree | 4454d35b4d40d842fbfb7cb6095cd473255330dc /sys/pci/if_xl.c | |
parent | 7b531b9dba39e9425101d41bc3ed0e68a8b0fdba (diff) | |
download | FreeBSD-src-b85ec83c3f0b98a9bd5cc408ebfa08e8654c60c3.zip FreeBSD-src-b85ec83c3f0b98a9bd5cc408ebfa08e8654c60c3.tar.gz |
Minor tweak for last commit: insert extra delay between issuing master
reset and RX/TX resets.
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r-- | sys/pci/if_xl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index afc9567..97df604 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_xl.c,v 1.48 1999/07/23 02:06:57 wpaul Exp $ + * $Id: if_xl.c,v 1.49 1999/08/02 21:06:16 wpaul Exp $ */ /* @@ -163,7 +163,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_xl.c,v 1.48 1999/07/23 02:06:57 wpaul Exp $"; + "$Id: if_xl.c,v 1.49 1999/08/02 21:06:16 wpaul Exp $"; #endif /* @@ -1261,6 +1261,8 @@ static void xl_reset(sc) if (i == XL_TIMEOUT) printf("xl%d: reset didn't complete\n", sc->xl_unit); + DELAY(100000); + /* Reset TX and RX. */ CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_RX_RESET); xl_wait(sc); |