All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] compilation fixes for gcc 4.0
@ 2004-09-22 19:20 Grzegorz Piotr Jaskiewicz
  2004-09-23  2:06 ` Grzegorz Piotr Jaskiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Grzegorz Piotr Jaskiewicz @ 2004-09-22 19:20 UTC (permalink / raw)
  To: Andrew Morton, kernel list

Signed-off-by: Grzegorz Jaskiewicz <gj at pointblue.com.pl>

--- drivers/net/3c507.old.c     2004-09-22 21:14:51 +0200
+++ drivers/net/3c507.c 2004-09-22 21:15:29 +0200
@@ -294,6 +294,7 @@
 static void hardware_send_packet(struct net_device *dev, void *buf, 
short length, short pad);
 static void init_82586_mem(struct net_device *dev);
 static struct ethtool_ops netdev_ethtool_ops;
+static void init_rx_bufs(struct net_device *);

 static int io = 0x300;
 static int irq;
@@ -612,7 +613,6 @@
        }

        if ((status & 0x0070) != 0x0040 && netif_running(dev)) {
-               static void init_rx_bufs(struct net_device *);
                /* The Rx unit is not ready, it must be hung.  Restart 
the receiver by
                   initializing the rx buffers, and issuing an Rx start 
command. */
                if (net_debug)



--
GJ

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/3] compilation fixes for gcc 4.0
  2004-09-22 19:20 [PATCH 2/3] compilation fixes for gcc 4.0 Grzegorz Piotr Jaskiewicz
@ 2004-09-23  2:06 ` Grzegorz Piotr Jaskiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Grzegorz Piotr Jaskiewicz @ 2004-09-23  2:06 UTC (permalink / raw)
  To: Andrew Morton; +Cc: kernel list

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

2nd patch attached.

Signed-off-by: Grzegorz Jaskiewicz <gj at pointblue.com.pl>

---

--
GJ

[-- Attachment #2: 3c507.c.patch --]
[-- Type: text/plain, Size: 820 bytes --]

diff -Naur linux-2.6.8/drivers/net/3c507.c linux-2.6.9-rc2-mm1/drivers/net/3c507.c
--- linux-2.6.8/drivers/net/3c507.c	2004-08-14 07:37:38 +0200
+++ linux-2.6.9-rc2-mm1/drivers/net/3c507.c	2004-09-22 21:15:29 +0200
@@ -294,6 +294,7 @@
 static void hardware_send_packet(struct net_device *dev, void *buf, short length, short pad);
 static void init_82586_mem(struct net_device *dev);
 static struct ethtool_ops netdev_ethtool_ops;
+static void init_rx_bufs(struct net_device *); 
 
 static int io = 0x300;
 static int irq;
@@ -612,7 +613,6 @@
 	}
 
 	if ((status & 0x0070) != 0x0040 && netif_running(dev)) {
-		static void init_rx_bufs(struct net_device *);
 		/* The Rx unit is not ready, it must be hung.  Restart the receiver by
 		   initializing the rx buffers, and issuing an Rx start command. */
 		if (net_debug)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-23  2:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-22 19:20 [PATCH 2/3] compilation fixes for gcc 4.0 Grzegorz Piotr Jaskiewicz
2004-09-23  2:06 ` Grzegorz Piotr Jaskiewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.