diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-06-27 20:09:43 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-06-27 20:09:43 +0000 |
commit | 2532356f7fc8d231d55f2b6ee7399c1408f61263 (patch) | |
tree | b103a130dff6fcaa3be455c573ad2e0065f1073d /sys | |
parent | 2323b527d43d43637624641d5b2d4c0d6d41e4ef (diff) |
Make this driver work. When I ported it from FreeBSD, somehow a line got left
out. :-( It was never noticed until now since I didn't have an actual D-Link
550TX card to test with. Thanks to Gardner Cohen for sending me one of these.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_ste.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_ste.c b/sys/dev/pci/if_ste.c index 0e8d1072b95..9449bf47fd2 100644 --- a/sys/dev/pci/if_ste.c +++ b/sys/dev/pci/if_ste.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ste.c,v 1.6 2000/02/15 02:28:15 jason Exp $ */ +/* $OpenBSD: if_ste.c,v 1.7 2000/06/27 20:09:42 aaron Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -1101,6 +1101,7 @@ void ste_init_tx_list(sc) cd = &sc->ste_cdata; ld = sc->ste_ldata; for (i = 0; i < STE_TX_LIST_CNT; i++) { + cd->ste_tx_chain[i].ste_ptr = &ld->ste_tx_list[i]; cd->ste_tx_chain[i].ste_phys = vtophys(&ld->ste_tx_list[i]); if (i == (STE_TX_LIST_CNT - 1)) cd->ste_tx_chain[i].ste_next = |