From: "Alec Voropay" <a.voropay@vmb-service.ru> To: <ralf@linux-mips.org>, <tsbogend@alpha.franken.de> Cc: <linux-mips@linux-mips.org> Subject: PATCH: linux_2_4 jazzonic.c Date: Mon, 11 Oct 2004 18:09:02 +0400 [thread overview] Message-ID: <02f401c4af9b$df306920$1701a8c0@vmbservice.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 196 bytes --] Hi! drivers/net/jazzsonic.c 1) #include <linux/module.h> 2) Device address is "unsigned long" as definded in the include/linux/netdevice.h P.S. It seems, 2.6 requires this too. -- -=AV=- [-- Attachment #2: patch_2_4-jazzonic.txt --] [-- Type: text/plain, Size: 1388 bytes --] diff -Naur -p -X dontdiff linux_2_4/drivers/net/jazzsonic.c linux_2_4-jazz/drivers/net/jazzsonic.c --- linux_2_4/drivers/net/jazzsonic.c Fri Aug 20 10:47:05 2004 +++ linux_2_4-jazz/drivers/net/jazzsonic.c Mon Oct 11 17:44:44 2004 @@ -14,6 +14,7 @@ */ #include <linux/kernel.h> +#include <linux/module.h> #include <linux/sched.h> #include <linux/types.h> #include <linux/fcntl.h> @@ -84,7 +85,7 @@ static unsigned short known_revisions[] /* Index to functions, as function prototypes. */ extern int sonic_probe(struct net_device *dev); -static int sonic_probe1(struct net_device *dev, unsigned int base_addr, +static int sonic_probe1(struct net_device *dev, unsigned long base_addr, unsigned int irq); @@ -94,7 +95,7 @@ static int sonic_probe1(struct net_devic */ int __init sonic_probe(struct net_device *dev) { - unsigned int base_addr = dev ? dev->base_addr : 0; + unsigned long base_addr = dev ? dev->base_addr : 0; int i; /* @@ -117,7 +118,7 @@ int __init sonic_probe(struct net_device return -ENODEV; } -static int __init sonic_probe1(struct net_device *dev, unsigned int base_addr, +static int __init sonic_probe1(struct net_device *dev, unsigned long base_addr, unsigned int irq) { static unsigned version_printed;
WARNING: multiple messages have this Message-ID (diff)
From: "Alec Voropay" <a.voropay@vmb-service.ru> To: ralf@linux-mips.org, tsbogend@alpha.franken.de Cc: linux-mips@linux-mips.org Subject: PATCH: linux_2_4 jazzonic.c Date: Mon, 11 Oct 2004 18:09:02 +0400 [thread overview] Message-ID: <02f401c4af9b$df306920$1701a8c0@vmbservice.ru> (raw) Message-ID: <20041011140902.AyHZiXxMFMKKjaGDbx1yGZxV-Qfsq2nqi9L-MWN_Yn0@z> (raw) [-- Attachment #1: Type: text/plain, Size: 196 bytes --] Hi! drivers/net/jazzsonic.c 1) #include <linux/module.h> 2) Device address is "unsigned long" as definded in the include/linux/netdevice.h P.S. It seems, 2.6 requires this too. -- -=AV=- [-- Attachment #2: patch_2_4-jazzonic.txt --] [-- Type: text/plain, Size: 1388 bytes --] diff -Naur -p -X dontdiff linux_2_4/drivers/net/jazzsonic.c linux_2_4-jazz/drivers/net/jazzsonic.c --- linux_2_4/drivers/net/jazzsonic.c Fri Aug 20 10:47:05 2004 +++ linux_2_4-jazz/drivers/net/jazzsonic.c Mon Oct 11 17:44:44 2004 @@ -14,6 +14,7 @@ */ #include <linux/kernel.h> +#include <linux/module.h> #include <linux/sched.h> #include <linux/types.h> #include <linux/fcntl.h> @@ -84,7 +85,7 @@ static unsigned short known_revisions[] /* Index to functions, as function prototypes. */ extern int sonic_probe(struct net_device *dev); -static int sonic_probe1(struct net_device *dev, unsigned int base_addr, +static int sonic_probe1(struct net_device *dev, unsigned long base_addr, unsigned int irq); @@ -94,7 +95,7 @@ static int sonic_probe1(struct net_devic */ int __init sonic_probe(struct net_device *dev) { - unsigned int base_addr = dev ? dev->base_addr : 0; + unsigned long base_addr = dev ? dev->base_addr : 0; int i; /* @@ -117,7 +118,7 @@ int __init sonic_probe(struct net_device return -ENODEV; } -static int __init sonic_probe1(struct net_device *dev, unsigned int base_addr, +static int __init sonic_probe1(struct net_device *dev, unsigned long base_addr, unsigned int irq) { static unsigned version_printed;
next reply other threads:[~2004-10-11 14:07 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-10-11 14:09 Alec Voropay [this message] 2004-10-11 14:09 ` PATCH: linux_2_4 jazzonic.c Alec Voropay
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='02f401c4af9b$df306920$1701a8c0@vmbservice.ru' \ --to=a.voropay@vmb-service.ru \ --cc=linux-mips@linux-mips.org \ --cc=ralf@linux-mips.org \ --cc=tsbogend@alpha.franken.de \ /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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.