Commit b43e83e8 authored by Linus Torvalds's avatar Linus Torvalds

Merge http://gkernel.bkbits.net/net-drivers-2.5

into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
parents 37724ebd aa13002b
...@@ -188,8 +188,8 @@ enum { ...@@ -188,8 +188,8 @@ enum {
NormalTxPoll = (1 << 6), /* One or more normal Tx packets to send */ NormalTxPoll = (1 << 6), /* One or more normal Tx packets to send */
PID1 = (1 << 17), /* 2 protocol id bits: 0==non-IP, */ PID1 = (1 << 17), /* 2 protocol id bits: 0==non-IP, */
PID0 = (1 << 16), /* 1==UDP/IP, 2==TCP/IP, 3==IP */ PID0 = (1 << 16), /* 1==UDP/IP, 2==TCP/IP, 3==IP */
RxProtoTCP = 2, RxProtoTCP = 1,
RxProtoUDP = 1, RxProtoUDP = 2,
RxProtoIP = 3, RxProtoIP = 3,
TxFIFOUnder = (1 << 25), /* Tx FIFO underrun */ TxFIFOUnder = (1 << 25), /* Tx FIFO underrun */
TxOWC = (1 << 22), /* Tx Out-of-window collision */ TxOWC = (1 << 22), /* Tx Out-of-window collision */
......
...@@ -97,6 +97,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -97,6 +97,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <asm/processor.h> #include <asm/processor.h>
#include <linux/ethtool.h> #include <linux/ethtool.h>
#include <linux/inetdevice.h> #include <linux/inetdevice.h>
#include <linux/bitops.h>
#include <linux/if.h> #include <linux/if.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
......
...@@ -340,7 +340,7 @@ static inline unsigned short int SHADOW(short int addr) ...@@ -340,7 +340,7 @@ static inline unsigned short int SHADOW(short int addr)
int __init express_probe(struct net_device *dev) int __init express_probe(struct net_device *dev)
{ {
unsigned short *port; unsigned short *port;
static unsigned short ports[] = { 0x300,0x310,0x270,0x320,0x340,0 }; static unsigned short ports[] = { 0x240,0x300,0x310,0x270,0x320,0x340,0 };
unsigned short ioaddr = dev->base_addr; unsigned short ioaddr = dev->base_addr;
SET_MODULE_OWNER(dev); SET_MODULE_OWNER(dev);
......
...@@ -57,7 +57,6 @@ static unsigned int io[] = { ~0, ~0, ~0, ~0 }; ...@@ -57,7 +57,6 @@ static unsigned int io[] = { ~0, ~0, ~0, ~0 };
static unsigned int irq[] = { 0, 0, 0, 0 }; static unsigned int irq[] = { 0, 0, 0, 0 };
static unsigned int dma[] = { 0, 0, 0, 0 }; static unsigned int dma[] = { 0, 0, 0, 0 };
static int ali_ircc_probe_43(ali_chip_t *chip, chipio_t *info);
static int ali_ircc_probe_53(ali_chip_t *chip, chipio_t *info); static int ali_ircc_probe_53(ali_chip_t *chip, chipio_t *info);
static int ali_ircc_init_43(ali_chip_t *chip, chipio_t *info); static int ali_ircc_init_43(ali_chip_t *chip, chipio_t *info);
static int ali_ircc_init_53(ali_chip_t *chip, chipio_t *info); static int ali_ircc_init_53(ali_chip_t *chip, chipio_t *info);
...@@ -252,7 +251,6 @@ static int ali_ircc_open(int i, chipio_t *info) ...@@ -252,7 +251,6 @@ static int ali_ircc_open(int i, chipio_t *info)
struct ali_ircc_cb *self; struct ali_ircc_cb *self;
struct pm_dev *pmdev; struct pm_dev *pmdev;
int dongle_id; int dongle_id;
int ret;
int err; int err;
IRDA_DEBUG(2, __FUNCTION__ "(), ---------------- Start ----------------\n"); IRDA_DEBUG(2, __FUNCTION__ "(), ---------------- Start ----------------\n");
...@@ -450,16 +448,6 @@ static int ali_ircc_init_53(ali_chip_t *chip, chipio_t *info) ...@@ -450,16 +448,6 @@ static int ali_ircc_init_53(ali_chip_t *chip, chipio_t *info)
return 0; return 0;
} }
/*
* Function ali_ircc_probe_43 (chip, info)
*
* Probes for the ALi M1543
*/
static int ali_ircc_probe_43(ali_chip_t *chip, chipio_t *info)
{
return 0;
}
/* /*
* Function ali_ircc_probe_53 (chip, info) * Function ali_ircc_probe_53 (chip, info)
* *
......
...@@ -1662,7 +1662,7 @@ static void netdev_error(struct net_device *dev, int intr_status) ...@@ -1662,7 +1662,7 @@ static void netdev_error(struct net_device *dev, int intr_status)
if ((np->tx_config & TxDrthMask) < 62) if ((np->tx_config & TxDrthMask) < 62)
np->tx_config += 2; np->tx_config += 2;
if (debug > 2) if (debug > 2)
printk(KERN_NOTICE "%s: increasing Tx theshold, new tx cfg %8.8xh.\n", printk(KERN_NOTICE "%s: increasing Tx threshold, new tx cfg %8.8xh.\n",
dev->name, np->tx_config); dev->name, np->tx_config);
writel(np->tx_config, ioaddr + TxConfig); writel(np->tx_config, ioaddr + TxConfig);
} }
......
...@@ -2096,7 +2096,7 @@ static int __init setup_xirc2ps_cs(char *str) ...@@ -2096,7 +2096,7 @@ static int __init setup_xirc2ps_cs(char *str)
MAYBE_SET(irq_list[1], 7); MAYBE_SET(irq_list[1], 7);
MAYBE_SET(irq_list[2], 8); MAYBE_SET(irq_list[2], 8);
MAYBE_SET(irq_list[3], 9); MAYBE_SET(irq_list[3], 9);
#undef MAYBE_SET(X,Y) #undef MAYBE_SET
return 0; return 0;
} }
......
...@@ -92,8 +92,6 @@ static U32 DriverControlWord; ...@@ -92,8 +92,6 @@ static U32 DriverControlWord;
static void rc_timer (unsigned long); static void rc_timer (unsigned long);
static int RCinit (struct net_device *);
static int RCopen (struct net_device *); static int RCopen (struct net_device *);
static int RC_xmit_packet (struct sk_buff *, struct net_device *); static int RC_xmit_packet (struct sk_buff *, struct net_device *);
static void RCinterrupt (int, void *, struct pt_regs *); static void RCinterrupt (int, void *, struct pt_regs *);
...@@ -223,7 +221,7 @@ rcpci45_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -223,7 +221,7 @@ rcpci45_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
} }
pDpa->PLanApiPA = (void *) (((long) pDpa->msgbuf + 0xff) & ~0xff); pDpa->PLanApiPA = (void *) (((long) pDpa->msgbuf + 0xff) & ~0xff);
dprintk ("pDpa->PLanApiPA = 0x%x\n", (uint) pDpa->PLanApiPA); dprintk ("pDpa->PLanApiPA = %p\n", pDpa->PLanApiPA);
/* The adapter is accessible through memory-access read/write, not /* The adapter is accessible through memory-access read/write, not
* I/O read/write. Thus, we need to map it to some virtual address * I/O read/write. Thus, we need to map it to some virtual address
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
#include <linux/timer.h> #include <linux/timer.h>
#include <linux/in.h> #include <linux/in.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/errno.h>
#include <linux/string.h> #include <linux/string.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
#include <linux/ptrace.h> #include <linux/ptrace.h>
......
...@@ -64,11 +64,6 @@ ...@@ -64,11 +64,6 @@
#include <net/arp.h> #include <net/arp.h>
#include <linux/pci.h> #include <linux/pci.h>
#ifndef MODULE
#include <linux/string.h>
#endif
#include <linux/config.h> #include <linux/config.h>
#include "sbni.h" #include "sbni.h"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/version.h> #include <linux/version.h>
#include <linux/kernel.h> /* printk(), and other useful stuff */ #include <linux/kernel.h> /* printk(), and other useful stuff */
#include <linux/module.h>
#include <linux/stddef.h> /* offsetof(), etc. */ #include <linux/stddef.h> /* offsetof(), etc. */
#include <linux/errno.h> /* return codes */ #include <linux/errno.h> /* return codes */
#include <linux/string.h> /* inline memset(), etc. */ #include <linux/string.h> /* inline memset(), etc. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment