Commit edea6330 authored by Jeff Garzik's avatar Jeff Garzik

Fix natsemi net drvr build, s/KERN_WARN/KERN_WARNING/

parent af1bb36c
...@@ -1005,7 +1005,7 @@ static void natsemi_reset(struct net_device *dev) ...@@ -1005,7 +1005,7 @@ static void natsemi_reset(struct net_device *dev)
udelay(5); udelay(5);
} }
if (i==NATSEMI_HW_TIMEOUT) { if (i==NATSEMI_HW_TIMEOUT) {
printk(KERN_WARN "%s: reset did not complete in %d usec.\n", printk(KERN_WARNING "%s: reset did not complete in %d usec.\n",
dev->name, i*5); dev->name, i*5);
} else if (netif_msg_hw(np)) { } else if (netif_msg_hw(np)) {
printk(KERN_DEBUG "%s: reset completed in %d usec.\n", printk(KERN_DEBUG "%s: reset completed in %d usec.\n",
...@@ -1045,7 +1045,7 @@ static void natsemi_reload_eeprom(struct net_device *dev) ...@@ -1045,7 +1045,7 @@ static void natsemi_reload_eeprom(struct net_device *dev)
break; break;
} }
if (i==NATSEMI_HW_TIMEOUT) { if (i==NATSEMI_HW_TIMEOUT) {
printk(KERN_WARN "%s: EEPROM did not reload in %d usec.\n", printk(KERN_WARNING "%s: EEPROM did not reload in %d usec.\n",
dev->name, i*50); dev->name, i*50);
} else if (netif_msg_hw(np)) { } else if (netif_msg_hw(np)) {
printk(KERN_DEBUG "%s: EEPROM reloaded in %d usec.\n", printk(KERN_DEBUG "%s: EEPROM reloaded in %d usec.\n",
...@@ -1066,7 +1066,7 @@ static void natsemi_stop_rxtx(struct net_device *dev) ...@@ -1066,7 +1066,7 @@ static void natsemi_stop_rxtx(struct net_device *dev)
udelay(5); udelay(5);
} }
if (i==NATSEMI_HW_TIMEOUT) { if (i==NATSEMI_HW_TIMEOUT) {
printk(KERN_WARN "%s: Tx/Rx process did not stop in %d usec.\n", printk(KERN_WARNING "%s: Tx/Rx process did not stop in %d usec.\n",
dev->name, i*5); dev->name, i*5);
} else if (netif_msg_hw(np)) { } else if (netif_msg_hw(np)) {
printk(KERN_DEBUG "%s: Tx/Rx process stopped in %d usec.\n", printk(KERN_DEBUG "%s: Tx/Rx process stopped in %d usec.\n",
...@@ -1477,7 +1477,7 @@ static void refill_rx(struct net_device *dev) ...@@ -1477,7 +1477,7 @@ static void refill_rx(struct net_device *dev)
} }
if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) { if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) {
if (netif_msg_rx_err(np)) if (netif_msg_rx_err(np))
printk(KERN_WARN "%s: going OOM.\n", dev->name); printk(KERN_WARNING "%s: going OOM.\n", dev->name);
np->oom = 1; np->oom = 1;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment