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:
parent
0dc24a7baa
commit
ed7e374afa
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user