1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

Remove obsolete driver code

This commit is contained in:
Alex Forencich 2019-11-06 11:32:33 -08:00
parent 0dc24a7baa
commit ed7e374afa

View File

@ -91,16 +91,12 @@ int mqnic_activate_port(struct mqnic_priv *priv, struct mqnic_port *port)
// enable schedulers
iowrite32(0xffffffff, port->hw_addr+MQNIC_PORT_REG_SCHED_ENABLE);
// enable queues
for (k = 0; k < priv->tx_queue_count; k++)
{
iowrite32(3, port->hw_addr+port->sched_offset+k*4);
}
// scheduler queue enable
iowrite32(0xffffffff, port->hw_addr+port->sched_offset+0x0200);
// scheduler global enable
iowrite32(0xffffffff, port->hw_addr+port->sched_offset+0x0300);
return 0;
}