diff options
author | ambrisko <ambrisko@FreeBSD.org> | 2004-01-10 03:02:04 +0000 |
---|---|---|
committer | ambrisko <ambrisko@FreeBSD.org> | 2004-01-10 03:02:04 +0000 |
commit | e80a89c101409d62441720889f518679dcc81c29 (patch) | |
tree | 34a3d430a4e266ddb8c7a7cb059323d3a2624f75 /sys/dev/an | |
parent | 0447b5115d7482927c10c5b243307370dc557165 (diff) | |
download | FreeBSD-src-e80a89c101409d62441720889f518679dcc81c29.zip FreeBSD-src-e80a89c101409d62441720889f518679dcc81c29.tar.gz |
Remove the HACK section it breaks the older firmware and doesn't totally
fix the new firmware so remove it.
Diffstat (limited to 'sys/dev/an')
-rw-r--r-- | sys/dev/an/if_an.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index b4aef61..5af543b 100644 --- a/sys/dev/an/if_an.c +++ b/sys/dev/an/if_an.c @@ -2729,27 +2729,6 @@ an_start(ifp) ifp->if_timer = 5; } } else { /* MPI-350 */ -/* HACK */ - { - struct an_command cmd_struct; - struct an_reply reply; - /* - * Allocate TX descriptor - */ - - bzero(&reply,sizeof(reply)); - cmd_struct.an_cmd = AN_CMD_ALLOC_DESC; - cmd_struct.an_parm0 = AN_DESCRIPTOR_TX; - cmd_struct.an_parm1 = AN_TX_DESC_OFFSET; - cmd_struct.an_parm2 = AN_MAX_TX_DESC; - if (an_cmd_struct(sc, &cmd_struct, &reply)) { - printf("an%d: failed to allocate TX " - "descriptor\n", - sc->an_unit); - return; - } - } -/* HACK */ while (sc->an_rdata.an_tx_empty || idx != sc->an_rdata.an_tx_cons) { IF_DEQUEUE(&ifp->if_snd, m0); |