net driver fixes
Subsystems (6)
PATCH 1/1 net driver fixes
Please pull from 'upstream-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git
to receive the following updates:
drivers/net/phy/phy_device.c | 4 drivers/net/wireless/orinoco_nortel.c | 6 drivers/s390/net/qeth_eddp.c | 3 drivers/s390/net/qeth_main.c | 61 +++----- drivers/s390/net/qeth_mpc.c | 2 drivers/s390/net/qeth_mpc.h | 4 drivers/s390/net/qeth_proc.c | 250 +++------------------------------- drivers/s390/net/qeth_sys.c | 6 drivers/s390/net/qeth_tso.h | 4 9 files changed, 77 insertions(+), 263 deletions(-)
Frank Pavlic:
s390: some minor qeth driver fixes
s390: minor qeth network driver fixes
s390: remove redundant and useless code in qeth
Olaf Hering:
missing license for libphy.ko
Pavel Roskin:
orinoco_nortel: Fix incorrect PCI resource use
orinoco_nortel: Add Symbol LA-4123 ID
drivers/net/phy/phy_device.c +4 -0
@@ -38,6 +38,10 @@#include <asm/irq.h> #include <asm/uaccess.h> +MODULE_DESCRIPTION ("PHY library" ); +MODULE_AUTHOR ("Andy Fleming" ); +MODULE_LICENSE ("GPL" ); +static struct phy_driver genphy_driver;extern int mdio_bus_init (void );extern void mdio_bus_exit (void );
drivers/net/wireless/orinoco_nortel.c +5 -1
@@ -1,6 +1,8 @@/* orinoco_nortel.c * * Driver for Prism II devices which would usually be driven by orinoco_cs, +* but are connected to the PCI bus by a PCI-to-PCMCIA adapter used in +* Nortel emobility, Symbol LA-4113 and Symbol LA-4123. * but are connected to the PCI bus by a Nortel PCI-PCMCIA-Adapter. * * Copyright (C) 2002 Tobias Hoffmann
@@ -165,7 +167,7 @@ static int nortel_pci_init_one(struct pc goto fail_resources; } - iomem =pci_iomap (pdev,3 ,0 ); + iomem =pci_iomap (pdev,2 ,0 );if (!iomem) { err = -ENOMEM ; goto fail_map_io;
@@ -265,6 +267,8 @@ static void __devexit nortel_pci_remove_static struct pci_device_id nortel_pci_id_table[] = {/* Nortel emobility PCI */ {0x126c ,0x8030 ,PCI_ANY_ID ,PCI_ANY_ID ,}, +/* Symbol LA-4123 PCI */ + {0x1562 ,0x0001 ,PCI_ANY_ID ,PCI_ANY_ID ,}, {0 ,}, };
drivers/s390/net/qeth_eddp.c +2 -1
@@ -62,7 +62,8 @@ qeth_eddp_free_context(struct qeth_eddp_for (i =0 ; i < ctx->num_pages; ++i)free_page ((unsigned long )ctx->pages[i]);kfree (ctx->pages); -kfree (ctx->elements); +if (ctx->elements !=NULL ) +kfree (ctx->elements);kfree (ctx); }
drivers/s390/net/qeth_main.c +29 -32
169 lines not on this page · raw message
drivers/s390/net/qeth_mpc.c +1 -1
@@ -11,7 +11,7 @@#include <asm/cio.h> #include "qeth_mpc.h" -const char *VERSION_QETH_MPC_C ="$Revision: 1.12 $" ; +const char *VERSION_QETH_MPC_C ="$Revision: 1.13 $" ;unsigned char IDX_ACTIVATE_READ []={0x00 ,0x00 ,0x80 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,
drivers/s390/net/qeth_mpc.h +2 -2
@@ -14,14 +14,14 @@#include <asm/qeth.h> -#define VERSION_QETH_MPC_H "$Revision: 1.44 $" +#define VERSION_QETH_MPC_H "$Revision: 1.46 $"extern const char *VERSION_QETH_MPC_C ;#define IPA_PDU_HEADER_SIZE 0x40#define QETH_IPA_PDU_LEN_TOTAL (buffer) (buffer+0x0e)#define QETH_IPA_PDU_LEN_PDU1 (buffer) (buffer+0x26) -#define QETH_IPA_PDU_LEN_PDU2 (buffer) (buffer+0x2a) +#define QETH_IPA_PDU_LEN_PDU2 (buffer) (buffer+0x29)#define QETH_IPA_PDU_LEN_PDU3 (buffer) (buffer+0x3a)extern unsigned char IPA_PDU_HEADER [];
drivers/s390/net/qeth_proc.c +29 -221
336 lines not on this page · raw message
drivers/s390/net/qeth_sys.c +3 -3
@@ -1,6 +1,6 @@/* * -* linux/drivers/s390/net/qeth_sys.c ($Revision: 1.58 $) +* linux/drivers/s390/net/qeth_sys.c ($Revision: 1.60 $) * * Linux on zSeries OSA Express and HiperSockets support * This file contains code related to sysfs.
@@ -20,7 +20,7 @@#include "qeth_mpc.h" #include "qeth_fs.h" -const char *VERSION_QETH_SYS_C ="$Revision: 1.58 $" ; +const char *VERSION_QETH_SYS_C ="$Revision: 1.60 $" ;/*****************************************************************************/ /* */
@@ -160,7 +160,7 @@ qeth_dev_portname_store(struct device *dreturn -EPERM ; tmp =strsep ((char **) &buf,"\n" ); -if ((strlen (tmp) >8 ) || (strlen (tmp) <2 )) +if ((strlen (tmp) >8 ) || (strlen (tmp) ==0 ))return -EINVAL ; card->info.portname[0 ] =strlen (tmp);
drivers/s390/net/qeth_tso.h +2 -2
@@ -1,5 +1,5 @@/* -* linux/drivers/s390/net/qeth_tso.h ($Revision: 1.7 $) +* linux/drivers/s390/net/qeth_tso.h ($Revision: 1.8 $) * * Header file for qeth TCP Segmentation Offload support. *
@@ -7,7 +7,7 @@* * Author(s): Frank Pavlic <[email protected]> * -* $Revision: 1.7 $ $Date: 2005/05/04 20:19:18 $ +* $Revision: 1.8 $ $Date: 2005/05/04 20:19:18 $ * */ #ifndef __QETH_TSO_H__