17 Sep, 2009

6 commits


16 Sep, 2009

1 commit


15 Sep, 2009

27 commits

  • Sorry Mike, I sent you off the wrong way. The following is simpler and the
    second port is diffrent enough in setup (because of NAPI), that the
    following is simpler.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Stephen Hemminger
     
  • Be more accurate about number of transmit list elements required.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Stephen Hemminger
     
  • pcnet_cs,serial_cs:

    add cis of Linksys lan&modem mulitifunction pcmcia card
    and some modem card(MT5634ZLX, RS-COM-2P).

    Signed-off-by: Ken Kawasaki
    Signed-off-by: David S. Miller

    Ken Kawasaki
     
  • This patch fixes commit e36b9d16c6a6d0f59803b3ef04ff3c22c3844c10. The approach
    there is to call dev_close()/dev_open() whenever the device type is changed in
    order to remap the device IP multicast addresses to HW multicast addresses.
    This approach suffers from 2 drawbacks:

    *. It assumes tha the device is UP when calling dev_close(), or otherwise
    dev_close() has no affect. It is worth to mention that initscripts (Redhat)
    and sysconfig (Suse) doesn't act the same in this matter.
    *. dev_close() has other side affects, like deleting entries from the routing
    table, which might be unnecessary.

    The fix here is to directly remap the IP multicast addresses to HW multicast
    addresses for a bonding device that changes its type, and nothing else.

    Reported-by: Jason Gunthorpe
    Signed-off-by: Moni Shoua
    Signed-off-by: David S. Miller

    Moni Shoua
     
  • When using nanosleep() in an userspace application we get a ratelimit warning

    NOHZ: local_softirq_pending 08

    for 10 times.

    The echo of CAN frames is done from process context and softirq context only.
    Therefore the usage of netif_rx() was wrong (for years).

    This patch replaces netif_rx() with netif_rx_ni() which has to be used from
    process/softirq context. It also adds a missing comment that can_send() must
    no be used from hardirq context.

    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Urs Thuermann
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     
  • In the case of fiber and serdes adapters we were seeing issues with ethtool
    -t causing kernel panics due to null function pointers. To prevent this we
    need to exit out of the phy reset code in the event that we do not have a
    valid phy.

    Signed-off-by: Alexander Duyck
    Signed-off-by: Don Skidmore
    Signed-off-by: David S. Miller

    Alexander Duyck
     
  • Our SGMII phy code was incomplete in that it was not actually placing the
    phy in SGMII mode and as a result the PHY was not able to establish a link
    when connected to a non serdes link partner. This patch updates the code
    to combine the SGMII/serdes PCS init and to add the necessary reset.

    Signed-off-by: Alexander Duyck
    Signed-off-by: Don Skidmore
    Signed-off-by: David S. Miller

    Alexander Duyck
     
  • Currently the media type detection for CX4 adapters lumps them into a
    type of fiber. This causes some strange fallout when firmware verification
    is done on the NIC, and certain fiber NIC rules get enforced incorrectly.

    This patch introduces a new media type for CX4, and puts both 82598 and
    82599 CX4 adapters into this bucket.

    Signed-off-by: Peter P Waskiewicz Jr
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Don Skidmore
    Signed-off-by: David S. Miller

    Peter P Waskiewicz Jr
     
  • This patch adds support for CX4 adapters based on 82599.

    Signed-off-by: Peter P Waskiewicz Jr
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Don Skidmore
    Signed-off-by: David S. Miller

    Peter P Waskiewicz Jr
     
  • The packet split feature was recently moved out of the adapter-wide flags
    feature field and into a per-Rx ring feature field. In the process, packet
    split isn't properly disabled in the Rx ring if the adapter has it globally
    disabled, followed by a device reset.

    This won't impact the driver today, since it's always in packet split mode.
    However, this will prevent any pitfalls if someone disables packet split on
    the adapter in the future and doesn't disable it in each ring.

    Signed-off-by: Peter P Waskiewicz Jr
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Don Skidmore
    Signed-off-by: David S. Miller

    Peter P Waskiewicz Jr
     
  • From: Rémi Denis-Courmont

    Signed-off-by: Rémi Denis-Courmont
    Signed-off-by: David S. Miller

    Rémi Denis-Courmont
     
  • Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     
  • Now that all Blackfin boards are using the board resources, we don't need
    to keep the arch/board specific crap in the driver header.

    Signed-off-by: Michael Hennerich
    Signed-off-by: Mike Frysinger
    Signed-off-by: David S. Miller

    Michael Hennerich
     
  • * 'osync_cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6:
    fsync: wait for data writeout completion before calling ->fsync
    vfs: Remove generic_osync_inode() and sync_page_range{_nolock}()
    fat: Opencode sync_page_range_nolock()
    pohmelfs: Use new syncing helper
    xfs: Convert sync_page_range() to simple filemap_write_and_wait_range()
    ocfs2: Update syncing after splicing to match generic version
    ntfs: Use new syncing helpers and update comments
    ext4: Remove syncing logic from ext4_file_write
    ext3: Remove syncing logic from ext3_file_write
    ext2: Update comment about generic_osync_inode
    vfs: Introduce new helpers for syncing after writing to O_SYNC file or IS_SYNC inode
    vfs: Rename generic_file_aio_write_nolock
    ocfs2: Use __generic_file_aio_write instead of generic_file_aio_write_nolock
    pohmelfs: Use __generic_file_aio_write instead of generic_file_aio_write_nolock
    vfs: Remove syncing from generic_file_direct_write() and generic_file_buffered_write()
    vfs: Export __generic_file_aio_write() and add some comments
    vfs: Introduce filemap_fdatawait_range

    Linus Torvalds
     
  • When an SPROM revision is not recognized, the code falls back to a V1
    SPROM; however, that revision is not forced in the appropriate structure.

    Signed-off-by: Larry Finger
    Signed-off-by: John W. Linville

    Larry Finger
     
  • There's a bug in 4965 powersave that appears to
    be related to the way it keeps track of its data
    during sleep, but we haven't found it yet. Due to
    that, using powersave may spontaneously cause the
    device to SYSASSERT when transitioning from sleep
    to wake. Therefore, disable powersave for 4965,
    until (if ever, unfortunately) we can identify
    and fix the problem.

    Cf. http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=1982
    which was closed, but now has re-appeared with
    IDLE mode, which probably means we never really
    fixed it.

    Signed-off-by: Johannes Berg
    Signed-off-by: Reinette Chatre
    Signed-off-by: John W. Linville

    Johannes Berg
     
  • We can not assume antenna "A" is the first valid anttena for
    all the NIC. Need to make sure choice the correct antenna based on
    h/w configuration for transmit to avoid sending frame on invalid
    antenna

    Signed-off-by: Wey-Yi Guy
    Signed-off-by: Reinette Chatre
    Signed-off-by: John W. Linville

    Wey-Yi Guy
     
  • RX handling maintains a few lists that keep track of the RX buffers.
    Buffers move from one list to the other as they are used, replenished, and
    again made available for usage. In one such instance, when a buffer is used
    it enters the "rx_used" list. When buffers are replenished an skb is
    attached to the buffer and it is moved to the "rx_free" list. The problem
    here is that the buffer is first removed from the "rx_used" list _before_ the
    skb is allocated. Thus, if the skb allocation fails this buffer remains
    removed from the "rx_used" list and is thus lost for future usage.

    Fix this by first allocating the skb before trying to attach it to a list.
    We add an additional check to not do this unnecessarily.

    Reported-by: Rick Farrington
    Signed-off-by: Reinette Chatre
    Signed-off-by: John W. Linville

    Reinette Chatre
     
  • When we cleaned up the driver to properly tell mac80211 about HT rates
    ("iwlwifi: use iwl_hwrate_get_mac80211_idx where appropriate"), we broke
    internal rate indexing in 2.4 GHz band.

    Signed-off-by: Daniel C Halperin
    Tested-by: Wey-Yi Guy
    Signed-off-by: Reinette Chatre
    Signed-off-by: John W. Linville

    Daniel C Halperin
     
  • This fixes a resume failure where a signal is pending on resume
    so the firmware upload fails.
    This removes the interruptible sleep, because we don't really need it.
    In the worst case (with broken firmware) the sleep loop will take 1 second.
    In the common case (working firmware), it will only take a few milliseconds.
    So we don't really need to be interruptible.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Michael Buesch
     
  • Disable SDIO coreswitch debugging.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Michael Buesch
     
  • When this was added no defaults were set and it seems
    this implies n. Default this to y.

    Reported-by: Jouni Malinen
    Signed-off-by: Luis R. Rodriguez
    Signed-off-by: John W. Linville

    Luis R. Rodriguez
     
  • When processing MIB interrupts, OFDM and CCK error
    handling routines for low RSSI values have to be invoked
    only when the channel mode is 11G/11B. Since HT channels
    will also fall under the bands 2Ghz/5Ghz, check appropriately.

    Signed-off-by: Sujith
    Signed-off-by: John W. Linville

    Sujith
     
  • Force wake the mac80211 queues on init.
    Under rare circumstances they may be stopped, if a DMA error or
    something else causes a device reset while a queue was stopped.

    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Michael Buesch
     
  • As the hostap driver was converted to use net_device_ops, a mistake was
    made in hostap_main.c (commit 5ae4efbcd2611562a8b93596be034e63495706a5).
    Originally, the tx_queue_len was set to 0 for every other interface than
    HOSTAP_INTERFACE_MASTER, but the new fragment of code sets tx_queue_len to
    0 only for HOSTAP_INTERFACE_MASTER. The opposite of the previous
    behavior makes the driver to drop all packets in AP mode.

    Change the way 0 is assigned to tx_queue_len according to the original
    logic.

    Signed-off-by: Martin Decky
    Signed-off-by: John W. Linville

    Martin Decky
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1623 commits)
    netxen: update copyright
    netxen: fix tx timeout recovery
    netxen: fix file firmware leak
    netxen: improve pci memory access
    netxen: change firmware write size
    tg3: Fix return ring size breakage
    netxen: build fix for INET=n
    cdc-phonet: autoconfigure Phonet address
    Phonet: back-end for autoconfigured addresses
    Phonet: fix netlink address dump error handling
    ipv6: Add IFA_F_DADFAILED flag
    net: Add DEVTYPE support for Ethernet based devices
    mv643xx_eth.c: remove unused txq_set_wrr()
    ucc_geth: Fix hangs after switching from full to half duplex
    ucc_geth: Rearrange some code to avoid forward declarations
    phy/marvell: Make non-aneg speed/duplex forcing work for 88E1111 PHYs
    drivers/net/phy: introduce missing kfree
    drivers/net/wan: introduce missing kfree
    net: force bridge module(s) to be GPL
    Subject: [PATCH] appletalk: Fix skb leak when ipddp interface is not loaded
    ...

    Fixed up trivial conflicts:

    - arch/x86/include/asm/socket.h

    converted to in the x86 tree. The generic
    header has the same new #define's, so that works out fine.

    - drivers/net/tun.c

    fix conflict between 89f56d1e9 ("tun: reuse struct sock fields") that
    switched over to using 'tun->socket.sk' instead of the redundantly
    available (and thus removed) 'tun->sk', and 2b980dbd ("lsm: Add hooks
    to the TUN driver") which added a new 'tun->sk' use.

    Noted in 'next' by Stephen Rothwell.

    Linus Torvalds
     
  • * 'x86-xen-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86: split __phys_addr out into separate file
    xen: use stronger barrier after unlocking lock
    xen: only enable interrupts while actually blocking for spinlock
    xen: make -fstack-protector work under Xen

    Linus Torvalds
     

14 Sep, 2009

4 commits


12 Sep, 2009

2 commits

  • o Add QLogic copyright, add linux-driver@qlogic.com to
    MAINTAINERS.
    o Delete old contact information.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: David S. Miller

    Dhananjay Phadke
     
  • Redesign tx timeout handling in line with new firmware
    reset design that co-ordinates with other PCI function
    drivers.

    o For NX3031, first try to reset PCI function's own
    context before requesting firmware reset.

    o For NX2031, since firmware heartbit is not supported
    directly request firmware reset.

    Signed-off-by: Amit Kumar Salecha
    Signed-off-by: Dhananjay Phadke
    Signed-off-by: David S. Miller

    Amit Kumar Salecha