public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Pekka Pietikainen <pp@ee•oulu.fi>
To: netdev@oss•sgi.com
Subject: [patch] 2.4 lacks dummy SET_NETDEV_DEV
Date: Mon, 10 Nov 2003 20:19:17 +0200	[thread overview]
Message-ID: <20031110181917.GA25846@ee.oulu.fi> (raw)

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
 {

             reply	other threads:[~2003-11-10 18:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-10 18:19 Pekka Pietikainen [this message]
2003-11-10 22:14 ` [patch] 2.4 lacks dummy SET_NETDEV_DEV Pekka Pietikainen
2003-11-11  6:14   ` David S. Miller
2003-12-02 10:40     ` Pekka Pietikainen
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=20031110181917.GA25846@ee.oulu.fi \
    --to=pp@ee$(echo .)oulu.fi \
    --cc=netdev@oss$(echo .)sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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