linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] add missing includes for the r8169.c driver
@ 2003-02-11  9:52 Geoffrey Lee
  0 siblings, 0 replies; only message in thread
From: Geoffrey Lee @ 2003-02-11  9:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: trivial

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

Hi all,

The following patch adds two missing includes for the r8169.c driver, which
without, prevented compilation.  The problem was discovered on an alpha.

It compiles, but as I have no hardware to test with I cannot test whether
it works.

The patch is against marcelo's 2.4.21-pre4, status for 2.5 is unknown.


	-- G.

-- 
char p[] = "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b"
  "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd"
  "\x80\xe8\xdc\xff\xff\xff/bin/sh";



[-- Attachment #2: r8169-2.c.patch --]
[-- Type: text/plain, Size: 360 bytes --]

--- linux-2.4.20/drivers/net/r8169.c.orig	2003-02-09 06:17:54.000000000 +0100
+++ linux-2.4.20/drivers/net/r8169.c	2003-02-09 06:18:35.000000000 +0100
@@ -41,6 +41,8 @@
 #include <linux/etherdevice.h>
 #include <linux/delay.h>
 #include <linux/crc32.h>
+#include <linux/init.h>
+#include <asm/io.h>
 
 #define RTL8169_VERSION "1.2"
 #define MODULENAME "r8169"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-11  9:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-11  9:52 [PATCH] add missing includes for the r8169.c driver Geoffrey Lee

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).