| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [patch] 2.4 lacks dummy SET_NETDEV_DEV |
| From: | Pekka Pietikainen <pp@xxxxxxxxxx> |
| Date: | Mon, 10 Nov 2003 20:19:17 +0200 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
Just noticed that 2.4 doesn't have a dummy SET_NETDEV_DEV for drivers
written for 2.6 (like the b44 fixes that got merged a few days back, so
it wouldn't actually compile :-) )
--- linux-2.4.22/include/linux/netdevice.h.orig 2003-10-03 20:30:14.000000000
+0300
+++ linux-2.4.22/include/linux/netdevice.h 2003-11-10 20:12:46.480609408
+0200
@@ -454,6 +454,8 @@
#endif /* CONFIG_NET_DIVERT */
};
+/* 2.6 compatibility */
+#define SET_NETDEV_DEV(net, pdev) do { } while (0)
struct packet_type
{
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] IPV{4,6}: Normalize jiffies reported to userspace in routing code (missing pieces), YOSHIFUJI Hideaki / 吉藤英明 |
|---|---|
| Next by Date: | 2.6 ipv6 doesn't take route advertisements, Rik van Riel |
| Previous by Thread: | [PATCH] IPV{4,6}: Normalize jiffies reported to userspace in routing code (missing pieces), YOSHIFUJI Hideaki / 吉藤英明 |
| Next by Thread: | Re: [patch] 2.4 lacks dummy SET_NETDEV_DEV, Pekka Pietikainen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |