summaryrefslogtreecommitdiffstats
path: root/sys/dev/an/if_an.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/an/if_an.c')
-rw-r--r--sys/dev/an/if_an.c21
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);
OpenPOWER on IntegriCloud