* PATCH: linux_2_4 jazzonic.c
@ 2004-10-11 14:09 ` Alec Voropay
0 siblings, 0 replies; 2+ messages in thread
From: Alec Voropay @ 2004-10-11 14:09 UTC (permalink / raw)
To: ralf, tsbogend; +Cc: linux-mips
[-- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
* PATCH: linux_2_4 jazzonic.c
@ 2004-10-11 14:09 ` Alec Voropay
0 siblings, 0 replies; 2+ messages in thread
From: Alec Voropay @ 2004-10-11 14:09 UTC (permalink / raw)
To: ralf, tsbogend; +Cc: linux-mips
[-- 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-11 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-11 14:09 PATCH: linux_2_4 jazzonic.c Alec Voropay
2004-10-11 14:09 ` Alec Voropay
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.