netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pekka Pietikainen <pp@ee.oulu.fi>
To: netdev@oss.sgi.com
Cc: marcelo.tosatti@cyclades.com.br
Subject: Re: [patch] 2.4 lacks dummy SET_NETDEV_DEV
Date: Tue, 2 Dec 2003 12:40:25 +0200	[thread overview]
Message-ID: <20031202104024.GA9163@ee.oulu.fi> (raw)
In-Reply-To: <20031110221429.04732a57.davem@redhat.com>

On Mon, Nov 10, 2003 at 10:14:29PM -0800, David S. Miller wrote:
> On Tue, 11 Nov 2003 00:14:30 +0200
> Pekka Pietikainen <pp@ee.oulu.fi> wrote:
> 
> > (I still like the idea of being able to use exactly the same driver
> > source on 2.4/2.6 though)
> 
> I agree, someone should merge in the dummy SET_NETDEV_DEV once
> Marcelo starts up 2.4.24-preX
Ping :-)

--- linux-2.4.22-1.2115.nptl/include/linux/netdevice.h.orig	2003-11-10 20:08:42.922635848 +0200
+++ linux-2.4.22-1.2115.nptl/include/linux/netdevice.h	2003-11-10 20:09:09.754556776 +0200
@@ -456,6 +456,8 @@
 #endif /* CONFIG_NET_DIVERT */
 };
 
+/* 2.6 compatibility */
+#define SET_NETDEV_DEV(net, pdev) do { } while (0)
 
 struct packet_type 
 {

-- 
Pekka Pietikainen

  reply	other threads:[~2003-12-02 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10 18:19 [patch] 2.4 lacks dummy SET_NETDEV_DEV Pekka Pietikainen
2003-11-10 22:14 ` Pekka Pietikainen
2003-11-11  6:14   ` David S. Miller
2003-12-02 10:40     ` Pekka Pietikainen [this message]
2003-12-02 11:28       ` David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031202104024.GA9163@ee.oulu.fi \
    --to=pp@ee.oulu.fi \
    --cc=marcelo.tosatti@cyclades.com.br \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).