]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] m68k: Sun-3 LANCE Ethernet
authorAndrew Morton <akpm@osdl.org>
Tue, 24 Feb 2004 15:00:23 +0000 (10:00 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 24 Feb 2004 15:00:23 +0000 (10:00 -0500)
From: Geert Uytterhoeven <geert@linux-m68k.org>

sun3lance updates from Sam Creasey:
  - Pass the correct flags to request_irq()
  - Add debug code for transmitting packets

drivers/net/sun3lance.c

index f445f1f26d33dc2f4db998e2e1b9218e0e8e4bbc..461d4e6072f36d19fcff2adfc05fbaed21d33219 100644 (file)
@@ -342,7 +342,7 @@ static int __init lance_probe( struct net_device *dev)
 
        REGA(CSR0) = CSR0_STOP; 
 
-       request_irq(LANCE_IRQ, lance_interrupt, 0, "SUN3 Lance", dev);
+       request_irq(LANCE_IRQ, lance_interrupt, SA_INTERRUPT, "SUN3 Lance", dev);
        dev->irq = (unsigned short)LANCE_IRQ;
 
 
@@ -505,6 +505,9 @@ static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev )
        struct lance_tx_head *head;
        unsigned long flags;
 
+       DPRINTK( 1, ( "%s: transmit start.\n",
+                     dev->name));
+
        /* Transmitter timeout, serious problems. */
        if (netif_queue_stopped(dev)) {
                int tickssofar = jiffies - dev->trans_start;