mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] asm/io.h: add missing define for alpha
@ 2003-02-11  9:33 Geoffrey Lee
  0 siblings, 0 replies; only message in thread
From: Geoffrey Lee @ 2003-02-11  9:33 UTC (permalink / raw)
  To: linux-kernel; +Cc: trivial

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

Hi all,


The following patch adds isa_eth_io_copy_and_sum define for alpha, which
has prevented the compilation of the AC3200 and ES3210 net driver for
a while now.

It compiles, but I have no hardware to test with.

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: io.h.patch --]
[-- Type: text/plain, Size: 484 bytes --]

--- linux-2.4.20/include/asm-alpha/io.h.orig	2003-02-10 17:55:23.000000000 +0100
+++ linux-2.4.20/include/asm-alpha/io.h	2003-02-10 18:28:48.000000000 +0100
@@ -457,7 +457,9 @@
 
 #define eth_io_copy_and_sum(skb,src,len,unused) \
   memcpy_fromio((skb)->data,(src),(len))
-
+#define isa_eth_io_copy_and_sum(skb,src,len,unused) \
+  isa_memcpy_fromio((skb)->data,(src),(len))
+ 
 static inline int
 check_signature(unsigned long io_addr, const unsigned char *signature,
 		int length)

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

only message in thread, other threads:[~2003-02-11  9:34 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:33 [PATCH] asm/io.h: add missing define for alpha Geoffrey Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®