Remove the HACK section it breaks the older firmware and doesn't totally

fix the new firmware so remove it.
This commit is contained in:
Doug Ambrisko 2004-01-10 03:02:04 +00:00
parent 3f5c95f772
commit e2297e59c8

View File

@ -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);