[netdrvr] netxen: workqueue-related build fixes

This commit is contained in:
Jeff Garzik 2006-12-07 06:30:07 -05:00
parent f1ff0fdc35
commit 0bfdcc88df
2 changed files with 2 additions and 3 deletions

View File

@ -1023,8 +1023,7 @@ int netxen_process_cmd_ring(unsigned long data)
&& netif_carrier_ok(port->netdev))
&& ((jiffies - port->netdev->trans_start) >
port->netdev->watchdog_timeo)) {
SCHEDULE_WORK(port->adapter->tx_timeout_task
+ port->portnum);
SCHEDULE_WORK(&port->adapter->tx_timeout_task);
}
last_consumer = get_next_index(last_consumer,

View File

@ -969,7 +969,7 @@ static void netxen_tx_timeout(struct net_device *netdev)
{
struct netxen_port *port = (struct netxen_port *)netdev_priv(netdev);
SCHEDULE_WORK(port->adapter->tx_timeout_task + port->portnum);
SCHEDULE_WORK(&port->adapter->tx_timeout_task);
}
static void netxen_tx_timeout_task(struct work_struct *work)