From ed7e374afac5924a4f593837f63af62ed5f3384c Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 6 Nov 2019 11:32:33 -0800 Subject: [PATCH] Remove obsolete driver code --- modules/mqnic/mqnic_port.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/mqnic/mqnic_port.c b/modules/mqnic/mqnic_port.c index 148e77628..196e1f5b7 100644 --- a/modules/mqnic/mqnic_port.c +++ b/modules/mqnic/mqnic_port.c @@ -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; }