net driver updates
Subsystems (4)
PATCH 1/1 net driver updates
Please pull from 'upstream-davem' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-davem
to receive the following updates:
drivers/net/Kconfig | 2 +- drivers/net/acenic.c | 1 - drivers/net/arm/ixp4xx_eth.c | 6 +- drivers/net/atl1e/atl1e_ethtool.c | 2 +- drivers/net/atl1e/atl1e_main.c | 4 +- drivers/net/au1000_eth.c | 2 +- drivers/net/ax88796.c | 4 +- drivers/net/bnx2x_link.c | 1 - drivers/net/bnx2x_main.c | 1 - drivers/net/cpmac.c | 1 - drivers/net/e1000e/defines.h | 2 +- drivers/net/e1000e/e1000.h | 1 + drivers/net/e1000e/ethtool.c | 2 +- drivers/net/e1000e/netdev.c | 185 ++++++++++++++++++++++++-- drivers/net/e1000e/param.c | 25 +++- drivers/net/gianfar.c | 6 +- drivers/net/gianfar_sysfs.c | 1 - drivers/net/ipg.h | 2 - drivers/net/ixgbe/ixgbe_82598.c | 1 + drivers/net/ixgbe/ixgbe_main.c | 4 +- drivers/net/ixgbe/ixgbe_type.h | 1 + drivers/net/myri10ge/myri10ge.c | 6 +- drivers/net/ne.c | 4 +- drivers/net/netxen/netxen_nic.h | 7 +- drivers/net/netxen/netxen_nic_hw.c | 59 ++++++--- drivers/net/netxen/netxen_nic_init.c | 28 ++-- drivers/net/netxen/netxen_nic_main.c | 210 ++++++++++++++---------------- drivers/net/netxen/netxen_nic_phan_reg.h | 2 + drivers/net/ppp_mppe.c | 1 - drivers/net/pppol2tp.c | 1 - drivers/net/r6040.c | 1 - drivers/net/sh_eth.c | 1 - drivers/net/sky2.c | 8 +- drivers/net/tehuti.h | 1 - drivers/net/tlan.c | 8 +- drivers/net/typhoon.c | 1 - drivers/net/usb/Kconfig | 21 ++-- drivers/net/usb/hso.c | 53 +++++---- 38 files changed, 425 insertions(+), 241 deletions(-)
Adrian Bunk (1):
[netdrvr] uninline atl1e_setup_mac_ctrl()
Atsushi Nemoto (1):
[netdrvr] ne: Use CONFIG_MACH_TX49XX
Ben Dooks (1):
AX88796: Fix locking in ethtool support
Brice Goglin (1):
myri10ge: myri10ge_fw_name also overrides the rss firmware
Bruce Allan (7):
e1000e: Return 1 instead of a non-zero value for link up indication
e1000e: Set InterruptThrottleRate to default when invalid value used
e1000e: Use skb_copy_to_linear_data_offset introduced in 2.6.22
e1000e: Increase Tx timeout factor for 10Mbps
e1000e: increase minimum frame size allowed
e1000e: test for unusable MSI support
e1000e: remove unnecessary snippet missed in prior check_options update
David Brownell (1):
Kconfig: HSO driver bugfixes and updates
Dhananjay Phadke (6):
netxen: fix mac addr setup
netxen: fix rxbuf leak across driver reload
netxen: force link update across ifdown/ifup
netxen: fix dma watchdog
netxen: cleanup interrupt code
netxen: update driver version
Greg Kroah-Hartman (2):
USB: HSO: make tty_operations const
USB: HSO: minor fixes due to code review
Huang Weiyi (1):
[netdrvr] remove unnecessary #include
Jesse Brandeburg (1):
ixgbe: add cx4 device ID
Mikael Pettersson (1):
ixp4xx_eth: fix dma_mapping_error() compile errors
Olivier Blin (2):
hso: fix oops in read/write callbacks
hso: fix refcounting on the ttyHSx devices
Rafael J. Wysocki (1):
sky2: Fix suspend/hibernation/shutdown regression with WOL enabled (rev. 2)
Robert Fitzsimons (1):
tlan: Fix two regressions introduced by 64bit conversion.
Scott Wood (1):
gianfar: Call gfar_halt_nodisable() from gfar_halt().
Vegard Nossum (1):
au1000_eth: use 'unsigned long' for irqflags
roel kluin (1):
atl1e: WAKE_MCAST 2x. 1st WAKE_UCAST?
drivers/net/Kconfig +1 -1
@@ -1172,7 +1172,7 @@ config ETH16I config NE2000 tristate "NE2000/NE1000 support" - depends on NET_ISA || (Q40 && m) || M32R || TOSHIBA_RBTX4927 || TOSHIBA_RBTX4938 + depends on NET_ISA || (Q40 && m) || M32R || MACH_TX49XX select CRC32 ---help--- If you have a network (Ethernet) card of this type, say Y and read
drivers/net/acenic.c +0 -1
@@ -52,7 +52,6 @@#include <linux/module.h> #include <linux/moduleparam.h> -#include <linux/version.h> #include <linux/types.h> #include <linux/errno.h> #include <linux/ioport.h>
drivers/net/arm/ixp4xx_eth.c +3 -3
@@ -551,7 +551,7 @@ static int eth_poll(struct napi_struct *napi, int budget)if ((skb =netdev_alloc_skb (dev,RX_BUFF_SIZE ))) { phys =dma_map_single (&dev->dev, skb->data,RX_BUFF_SIZE ,DMA_FROM_DEVICE ); -if (dma_mapping_error (phys)) { +if (dma_mapping_error (&dev->dev, phys)) {dev_kfree_skb (skb); skb =NULL ; }
@@ -698,7 +698,7 @@ static int eth_xmit(struct sk_buff *skb, struct net_device *dev)#endif phys =dma_map_single (&dev->dev, mem, bytes,DMA_TO_DEVICE ); -if (dma_mapping_error (phys)) { +if (dma_mapping_error (&dev->dev, phys)) {#ifdef __ARMEB__dev_kfree_skb (skb);#else
@@ -883,7 +883,7 @@ static int init_queues(struct port *port) desc->buf_len =MAX_MRU ; desc->data =dma_map_single (&port->netdev->dev, data,RX_BUFF_SIZE ,DMA_FROM_DEVICE ); -if (dma_mapping_error (desc->data)) { +if (dma_mapping_error (&port->netdev->dev, desc->data)) {free_buffer (buff);return -EIO ; }
drivers/net/atl1e/atl1e_ethtool.c +1 -1
@@ -355,7 +355,7 @@ static int atl1e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)struct atl1e_adapter *adapter =netdev_priv (netdev);if (wol->wolopts & (WAKE_ARP |WAKE_MAGICSECURE | -WAKE_MCAST |WAKE_BCAST |WAKE_MCAST )) +WAKE_UCAST |WAKE_MCAST |WAKE_BCAST ))return -EOPNOTSUPP ;/* these settings will always override what we currently have */ adapter->wol =0 ;
drivers/net/atl1e/atl1e_main.c +2 -2
@@ -47,7 +47,7 @@ MODULE_DESCRIPTION("Atheros 1000M Ethernet Network Driver");MODULE_LICENSE ("GPL" );MODULE_VERSION (DRV_VERSION ); -static inline void atl1e_setup_mac_ctrl (struct atl1e_adapter *adapter); +static void atl1e_setup_mac_ctrl (struct atl1e_adapter *adapter);static const u16 atl1e_rx_page_vld_regs[AT_MAX_RECEIVE_QUEUE][AT_PAGE_NUM_PER_QUEUE] =
@@ -1037,7 +1037,7 @@ static inline void atl1e_configure_dma(struct atl1e_adapter *adapter)return ; } -static inline void atl1e_setup_mac_ctrl (struct atl1e_adapter *adapter) +static void atl1e_setup_mac_ctrl (struct atl1e_adapter *adapter) {u32 value;struct atl1e_hw *hw = &adapter->hw;
drivers/net/au1000_eth.c +1 -1
@@ -807,7 +807,7 @@ err_out:static int au1000_init (struct net_device *dev) {struct au1000_private *aup = (struct au1000_private *) dev->priv; -u32 flags; +unsigned long flags;int i;u32 control;
drivers/net/ax88796.c +2 -2
@@ -554,7 +554,7 @@ static int ax_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)spin_lock_irqsave (&ax->mii_lock, flags);mii_ethtool_gset (&ax->mii, cmd); -spin_lock_irqsave (&ax->mii_lock, flags); +spin_unlock_irqrestore (&ax->mii_lock, flags);return 0 ; }
@@ -567,7 +567,7 @@ static int ax_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)spin_lock_irqsave (&ax->mii_lock, flags); rc =mii_ethtool_sset (&ax->mii, cmd); -spin_lock_irqsave (&ax->mii_lock, flags); +spin_unlock_irqrestore (&ax->mii_lock, flags);return rc; }
drivers/net/bnx2x_link.c +0 -1
@@ -21,7 +21,6 @@#include <linux/delay.h> #include <linux/ethtool.h> #include <linux/mutex.h> -#include <linux/version.h> #include "bnx2x_reg.h" #include "bnx2x_fw_defs.h"
drivers/net/bnx2x_main.c +0 -1
@@ -44,7 +44,6 @@#include <net/ip.h> #include <net/tcp.h> #include <net/checksum.h> -#include <linux/version.h> #include <net/ip6_checksum.h> #include <linux/workqueue.h> #include <linux/crc32.h>
drivers/net/cpmac.c +0 -1
@@ -26,7 +26,6 @@#include <linux/errno.h> #include <linux/types.h> #include <linux/delay.h> -#include <linux/version.h> #include <linux/netdevice.h> #include <linux/etherdevice.h>
drivers/net/e1000e/defines.h +1 -1
@@ -389,7 +389,7 @@/* Interrupt Cause Set */ #define E1000_ICS_LSC E1000_ICR_LSC/* Link Status Change */ -#define E1000_ICS_RXDMT0 E1000_ICR_RXDMT0/* rx desc min. threshold */ +#define E1000_ICS_RXSEQ E1000_ICR_RXSEQ/* Rx sequence error */ #define E1000_ICS_RXDMT0 E1000_ICR_RXDMT0/* Rx desc min. threshold */ /* Transmit Descriptor Control */
drivers/net/e1000e/e1000.h +1 -0
@@ -326,6 +326,7 @@ struct e1000_info {#define FLAG_RX_CSUM_ENABLED (1 << 28)#define FLAG_TSO_FORCE (1 << 29)#define FLAG_RX_RESTART_NOW (1 << 30) +#define FLAG_MSI_TEST_FAILED (1 << 31)#define E1000_RX_DESC_PS (R , i) \ (&(((union e1000_rx_desc_packet_split *)((R).desc))[i]))
drivers/net/e1000e/ethtool.c +1 -1
@@ -177,7 +177,7 @@ static u32 e1000_get_link(struct net_device *netdev)u32 status; status =er32 (STATUS ); -return (status &E1000_STATUS_LU ); +return (status &E1000_STATUS_LU ) ?1 :0 ; }static int e1000_set_spd_dplx (struct e1000_adapter *adapter,u16 spddplx)
drivers/net/e1000e/netdev.c +170 -15
231 lines not on this page · raw message
drivers/net/e1000e/param.c +19 -6
@@ -324,14 +324,27 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter) adapter->itr =20000 ;break ;default : -e1000_validate_option (&adapter->itr, &opt, - adapter);/* -* save the setting, because the dynamic bits -* change itr. clear the lower two bits -* because they are used as control +* Save the setting, because the dynamic bits +* change itr. */ - adapter->itr_setting = adapter->itr & ~3 ; +if (e1000_validate_option (&adapter->itr, &opt, + adapter) && + (adapter->itr ==3 )) { +/* +* In case of invalid user value, +* default to conservative mode. +*/ + adapter->itr_setting = adapter->itr; + adapter->itr =20000 ; + }else { +/* +* Clear the lower two bits because +* they are used as control. +*/ + adapter->itr_setting = + adapter->itr & ~3 ; + }break ; } }else {
drivers/net/gianfar.c +2 -4
@@ -134,9 +134,7 @@ static int gfar_process_frame(struct net_device *dev, struct sk_buff *skb, int lstatic void gfar_vlan_rx_register (struct net_device *netdev,struct vlan_group *grp);void gfar_halt (struct net_device *dev); -#ifdef CONFIG_PM static void gfar_halt_nodisable (struct net_device *dev); -#endif void gfar_start (struct net_device *dev);static void gfar_clear_exact_match (struct net_device *dev);static void gfar_set_mac_for_addr (struct net_device *dev,int num,u8 *addr);
@@ -631,7 +629,6 @@ static void init_registers(struct net_device *dev) } -#ifdef CONFIG_PM /* Halt the receive and transmit queues */ static void gfar_halt_nodisable (struct net_device *dev) {
@@ -657,7 +654,6 @@ static void gfar_halt_nodisable(struct net_device *dev)cpu_relax (); } } -#endif /* Halt the receive and transmit queues */ void gfar_halt (struct net_device *dev)
@@ -666,6 +662,8 @@ void gfar_halt(struct net_device *dev)struct gfar __iomem *regs = priv->regs;u32 tempval; +gfar_halt_nodisable (dev); +/* Disable Rx and Tx */ tempval =gfar_read (®s->maccfg1); tempval &= ~(MACCFG1_RX_EN |MACCFG1_TX_EN );
drivers/net/gianfar_sysfs.c +0 -1
@@ -33,7 +33,6 @@#include <asm/uaccess.h> #include <linux/module.h> -#include <linux/version.h> #include "gianfar.h"
drivers/net/ipg.h +0 -2
@@ -7,7 +7,6 @@#ifndef __LINUX_IPG_H#define __LINUX_IPG_H -#include <linux/version.h> #include <linux/module.h> #include <linux/kernel.h>
@@ -21,7 +20,6 @@#include <linux/etherdevice.h> #include <linux/init.h> #include <linux/skbuff.h> -#include <linux/version.h> #include <asm/bitops.h> /*
drivers/net/ixgbe/ixgbe_82598.c +1 -0
@@ -190,6 +190,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_82598(struct ixgbe_hw *hw)case IXGBE_DEV_ID_82598AF_DUAL_PORT :case IXGBE_DEV_ID_82598AF_SINGLE_PORT :case IXGBE_DEV_ID_82598EB_CX4 : +case IXGBE_DEV_ID_82598_CX4_DUAL_PORT : media_type = ixgbe_media_type_fiber;break ;case IXGBE_DEV_ID_82598AT_DUAL_PORT :
drivers/net/ixgbe/ixgbe_main.c +3 -1
@@ -48,7 +48,7 @@ char ixgbe_driver_name[] = "ixgbe";static const char ixgbe_driver_string[] ="Intel(R) 10 Gigabit PCI Express Network Driver" ; -#define DRV_VERSION "1.3.18-k2" +#define DRV_VERSION "1.3.18-k4"const char ixgbe_driver_version[] =DRV_VERSION ;static const char ixgbe_copyright[] ="Copyright (c) 1999-2007 Intel Corporation." ;
@@ -72,6 +72,8 @@ static struct pci_device_id ixgbe_pci_tbl[] = { board_82598 }, {PCI_VDEVICE (INTEL ,IXGBE_DEV_ID_82598EB_CX4 ), board_82598 }, + {PCI_VDEVICE(INTEL, IXGBE_DEV_ID_82598_CX4_DUAL_PORT), + board_82598 },/* required last entry */ {0, }
drivers/net/ixgbe/ixgbe_type.h +1 -0
@@ -39,6 +39,7 @@#define IXGBE_DEV_ID_82598AF_SINGLE_PORT 0x10C7#define IXGBE_DEV_ID_82598AT_DUAL_PORT 0x10C8#define IXGBE_DEV_ID_82598EB_CX4 0x10DD +#define IXGBE_DEV_ID_82598_CX4_DUAL_PORT 0x10EC/* General Registers */ #define IXGBE_CTRL 0x00000
drivers/net/myri10ge/myri10ge.c +5 -1
@@ -3548,7 +3548,11 @@ static void myri10ge_probe_slices(struct myri10ge_priv *mgp)/* try to load the slice aware rss firmware */ old_fw = mgp->fw_name; -if (old_fw == myri10ge_fw_aligned) +if (myri10ge_fw_name !=NULL ) { +dev_info (&mgp->pdev->dev,"overriding rss firmware to %s\n" , + myri10ge_fw_name); + mgp->fw_name = myri10ge_fw_name; + }else if (old_fw == myri10ge_fw_aligned) mgp->fw_name = myri10ge_fw_rss_aligned;else mgp->fw_name = myri10ge_fw_rss_unaligned;
drivers/net/ne.c +2 -2
@@ -118,7 +118,7 @@ bad_clone_list[] __initdata = { {"E-LAN100", "E-LAN200", {0x00, 0x00, 0x5d}}, /* Broken ne1000 clones */ {"PCM-4823", "PCM-4823", {0x00, 0xc0, 0x6c}}, /* Broken Advantech MoBo */ {"REALTEK", "RTL8019", {0x00, 0x00, 0xe8}}, /* no-name with Realtek chip */ -#if defined(CONFIG_TOSHIBA_RBTX4927) || defined(CONFIG_TOSHIBA_RBTX4938) +#ifdef CONFIG_MACH_TX49XX {"RBHMA4X00-RTL8019", "RBHMA4X00/RTL8019", {0x00, 0x60, 0x0a}}, /* Toshiba built-in */ #endif {"LCS-8834", "LCS-8836", {0x04, 0x04, 0x37}}, /* ShinyNet (SET) */
@@ -142,7 +142,7 @@ bad_clone_list[] __initdata = {#if defined(CONFIG_PLAT_MAPPI )# define DCR_VAL 0x4b#elif defined(CONFIG_PLAT_OAKS32R ) || \ - defined(CONFIG_TOSHIBA_RBTX4927 ) || defined(CONFIG_TOSHIBA_RBTX4938 ) + defined(CONFIG_MACH_TX49XX )# define DCR_VAL 0x48/* 8-bit mode */ #else # define DCR_VAL 0x49
drivers/net/netxen/netxen_nic.h +4 -3
@@ -66,8 +66,8 @@#define _NETXEN_NIC_LINUX_MAJOR 4#define _NETXEN_NIC_LINUX_MINOR 0 -#define _NETXEN_NIC_LINUX_SUBVERSION 0 -#define NETXEN_NIC_LINUX_VERSIONID "4.0.0" +#define _NETXEN_NIC_LINUX_SUBVERSION 11 +#define NETXEN_NIC_LINUX_VERSIONID "4.0.11"#define NETXEN_VERSION_CODE (a, b, c) (((a) << 16) + ((b) << 8) + (c))
@@ -1615,7 +1615,8 @@ dma_watchdog_wakeup(struct netxen_adapter *adapter)int netxen_is_flash_supported (struct netxen_adapter *adapter); -int netxen_get_flash_mac_addr (struct netxen_adapter *adapter,__le64 mac[]); +int netxen_get_flash_mac_addr (struct netxen_adapter *adapter,__le64 *mac); +int netxen_p3_get_mac_addr (struct netxen_adapter *adapter,__le64 *mac);extern void netxen_change_ringparam (struct netxen_adapter *adapter);extern int netxen_rom_fast_read (struct netxen_adapter *adapter,int addr,int *valp);
drivers/net/netxen/netxen_nic_hw.c +42 -17
83 lines not on this page · raw message
drivers/net/netxen/netxen_nic_init.c +15 -13
@@ -1079,10 +1079,12 @@ int netxen_initialize_adapter_offload(struct netxen_adapter *adapter)void netxen_free_adapter_offload (struct netxen_adapter *adapter) { -int i; +int i =100 ; + +if (!adapter->dummy_dma.addr) +return ; -if (adapter->dummy_dma.addr) { - i =100 ; +if (NX_IS_REVISION_P2 (adapter->ahw.revision_id)) { do { if (dma_watchdog_shutdown_request(adapter) == 1) break;
@@ -1090,17 +1092,17 @@ void netxen_free_adapter_offload(struct netxen_adapter *adapter)if (dma_watchdog_shutdown_poll_result (adapter) ==1 )break ; }while (--i); + } -if (i) { -pci_free_consistent (adapter->pdev, -NETXEN_HOST_DUMMY_DMA_SIZE , - adapter->dummy_dma.addr, - adapter->dummy_dma.phys_addr); - adapter->dummy_dma.addr =NULL ; - }else { -printk (KERN_ERR "%s: dma_watchdog_shutdown failed\n" , - adapter->netdev->name); - } +if (i) { +pci_free_consistent (adapter->pdev, +NETXEN_HOST_DUMMY_DMA_SIZE , + adapter->dummy_dma.addr, + adapter->dummy_dma.phys_addr); + adapter->dummy_dma.addr =NULL ; + }else { +printk (KERN_ERR "%s: dma_watchdog_shutdown failed\n" , + adapter->netdev->name); } }
drivers/net/netxen/netxen_nic_main.c +96 -114
323 lines not on this page · raw message
drivers/net/netxen/netxen_nic_phan_reg.h +2 -0
@@ -125,6 +125,8 @@#define CRB_SW_INT_MASK_2 NETXEN_NIC_REG(0x1e4)#define CRB_SW_INT_MASK_3 NETXEN_NIC_REG(0x1e8) +#define CRB_MAC_BLOCK_START NETXEN_CAM_RAM(0x1c0) +/* * capabilities register, can be used to selectively enable/disable features * for backward compability
drivers/net/ppp_mppe.c +0 -1
@@ -46,7 +46,6 @@#include <linux/err.h> #include <linux/module.h> #include <linux/kernel.h> -#include <linux/version.h> #include <linux/init.h> #include <linux/types.h> #include <linux/slab.h>
drivers/net/pppol2tp.c +0 -1
@@ -61,7 +61,6 @@*/ #include <linux/module.h> -#include <linux/version.h> #include <linux/string.h> #include <linux/list.h> #include <asm/uaccess.h>
drivers/net/r6040.c +0 -1
@@ -24,7 +24,6 @@#include <linux/kernel.h> #include <linux/module.h> -#include <linux/version.h> #include <linux/moduleparam.h> #include <linux/string.h> #include <linux/timer.h>
drivers/net/sh_eth.c +0 -1
@@ -20,7 +20,6 @@* the file called "COPYING". */ -#include <linux/version.h> #include <linux/init.h> #include <linux/dma-mapping.h> #include <linux/etherdevice.h>
drivers/net/sky2.c +6 -2
@@ -24,7 +24,6 @@#include <linux/crc32.h> #include <linux/kernel.h> -#include <linux/version.h> #include <linux/module.h> #include <linux/netdevice.h> #include <linux/dma-mapping.h>
@@ -666,11 +665,16 @@ static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port)if (hw->chip_id !=CHIP_ID_YUKON_EC ) {if (hw->chip_id ==CHIP_ID_YUKON_EC_U ) { - ctrl =gm_phy_read (hw, port,PHY_MARV_PHY_CTRL ); +/* select page 2 to access MAC control register */ +gm_phy_write (hw, port,PHY_MARV_EXT_ADR ,2 ); + ctrl =gm_phy_read (hw, port,PHY_MARV_PHY_CTRL );/* enable Power Down */ ctrl |=PHY_M_PC_POW_D_ENA ;gm_phy_write (hw, port,PHY_MARV_PHY_CTRL , ctrl); + +/* set page register back to 0 */ +gm_phy_write (hw, port,PHY_MARV_EXT_ADR ,0 ); }/* set IEEE compatible Power Down Mode (dev. #4.99) */
drivers/net/tehuti.h +0 -1
@@ -27,7 +27,6 @@#include <linux/sched.h> #include <linux/tty.h> #include <linux/if_vlan.h> -#include <linux/version.h> #include <linux/interrupt.h> #include <linux/vmalloc.h> #include <asm/byteorder.h>
drivers/net/tlan.c +4 -4
@@ -360,8 +360,8 @@ TLan_GetSKB( const struct tlan_list_tag *tag) {unsigned long addr; - addr = tag->buffer[8 ].address; - addr |= (tag->buffer[9 ].address <<16 ) <<16 ; + addr = tag->buffer[9 ].address; + addr |= (tag->buffer[8 ].address <<16 ) <<16 ;return (struct sk_buff *) addr; }
@@ -1984,7 +1984,6 @@ static void TLan_ResetLists( struct net_device *dev )TLanList *list;dma_addr_t list_phys;struct sk_buff *skb; -void *t =NULL ; priv->txHead =0 ; priv->txTail =0 ;
@@ -2022,7 +2021,8 @@ static void TLan_ResetLists( struct net_device *dev ) }skb_reserve ( skb,NET_IP_ALIGN ); - list->buffer[0 ].address =pci_map_single (priv->pciDev, t, + list->buffer[0 ].address =pci_map_single (priv->pciDev, + skb->data,TLAN_MAX_FRAME_SIZE ,PCI_DMA_FROMDEVICE );TLan_StoreSKB (list, skb);
drivers/net/typhoon.c +0 -1
@@ -128,7 +128,6 @@ static const int multicast_filter_limit = 32;#include <asm/io.h> #include <asm/uaccess.h> #include <linux/in6.h> -#include <linux/version.h> #include <linux/dma-mapping.h> #include "typhoon.h"
drivers/net/usb/Kconfig +10 -11
@@ -154,17 +154,6 @@ config USB_NET_AX8817X This driver creates an interface named "ethX", where X depends on what other networking devices you have in use. -config USB_HSO - tristate "Option USB High Speed Mobile Devices" - depends on USB && RFKILL - default n - help - Choose this option if you have an Option HSDPA/HSUPA card. - These cards support downlink speeds of 7.2Mbps or greater. - - To compile this driver as a module, choose M here: the - module will be called hso. - config USB_NET_CDCETHER tristate "CDC Ethernet support (smart devices such as cable modems)" depends on USB_USBNET
@@ -337,5 +326,15 @@ config USB_NET_ZAURUS really need this non-conformant variant of CDC Ethernet (or in some cases CDC MDLM) protocol, not "g_ether". +config USB_HSO + tristate "Option USB High Speed Mobile Devices" + depends on USB && RFKILL + default n + help + Choose this option if you have an Option HSDPA/HSUPA card. + These cards support downlink speeds of 7.2Mbps or greater. + + To compile this driver as a module, choose M here: the + module will be called hso. endmenu
drivers/net/usb/hso.c +30 -23
124 lines not on this page · raw message
David Miller
maintainerFrom: Jeff Garzik <[email protected]>
Date: Thu, 14 Aug 2008 05:32:54 -0400
Quoted 4 lines
Please pull from 'upstream-davem' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-davem
to receive the following updates:
Pulled and pushed back out to kernel.org, thanks Jeff.