15 Aug, 2008

7 commits


14 Aug, 2008

33 commits

  • Fix a pair of nasty locking problems in the ax88796 driver
    spotted by a sparse check:

    warning: context imbalance in 'ax_get_settings' - wrong count at exit
    warning: context imbalance in 'ax_set_settings' - wrong count at exit

    Signed-off-by: Ben Dooks
    Signed-off-by: Jeff Garzik

    Ben Dooks
     
  • Signed-off-by: Jeff Garzik

    roel kluin
     
  • After some cleanups in arch/mips area, now MACH_TX49XX is selected for
    both TOSHIBA_RBTX4927 and TOSHIBA_RBTX4938. Fold these two conditions
    to one.

    Signed-off-by: Atsushi Nemoto
    Signed-off-by: Jeff Garzik

    Atsushi Nemoto
     
  • Move the Kconfig for the new "Option" driver so it's not in the
    middle of the usbnet-based drivers, so the dependency displays
    in the Kconfig user interfaces don't get trashed.

    Signed-off-by: David Brownell
    Signed-off-by: Jeff Garzik

    David Brownell
     
  • Fix up problems in hso.c driver as pointed out by Andrew.

    Cc: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Jeff Garzik

    Greg Kroah-Hartman
     
  • As recommended by Arjan.

    Cc: Arjan van de Ven
    Cc: Andrew Bird
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Jeff Garzik

    Greg Kroah-Hartman
     
  • The references on ttyHSx devices were not decremented correctly when
    the tty was closed. The helper freeing the serial devices was never
    called because of that, and the module left some dangling sysfs
    devices after being unloaded.

    Signed-off-by: Olivier Blin
    Cc: Jari Tenhunen
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Jeff Garzik

    Olivier Blin
     
  • The tty may be closed already when the read/write callbacks are called.
    This patch checks that the ttys still exist before waking them up.

    Signed-off-by: Olivier Blin
    Acked-by: Alan Cox
    Cc: Jari Tenhunen
    Signed-off-by: Greg Kroah-Hartman
    Signed-off-by: Jeff Garzik

    Olivier Blin
     
  • There doesn't seem to be a compelling reason why atl1e_setup_mac_ctrl()
    is marked as "inline":

    It's not used in any place where speed would matter much, and as long as
    it has only one caller non-ancient gcc versions anyway inline it
    automatically.

    This patch fixes the following compile error with gcc 3.4:

    ...
    CC drivers/net/atl1e/atl1e_main.o
    atl1e_main.c: In function `atl1e_check_link':
    atl1e_main.c:50: sorry, unimplemented: inlining failed in call to
    atl1e_main.c:196: sorry, unimplemented: called from here
    make[4]: *** [drivers/net/atl1e/atl1e_main.o] Error 1

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Jeff Garzik

    Adrian Bunk
     
  • Raise driver version to 4.0.11.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: Jeff Garzik

    Dhananjay Phadke
     
  • Mark interrupt scheme in very old firmware incompatible. Interrupt mask
    and status registers are per pci function / port.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: Jeff Garzik

    Dhananjay Phadke
     
  • NX3031 does not require driver to kill dma watchdog.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: Jeff Garzik

    Dhananjay Phadke
     
  • Re-read link status in dev open(). Schedule link watchdog only
    if dev is up.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: Jeff Garzik

    Dhananjay Phadke
     
  • Free up rx ring during driver unload or open() failure.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: Jeff Garzik

    Dhananjay Phadke
     
  • For NX3031 mac addr should be read from firmware. mac addr in flash
    is still valid, but can be overridden by firmware if running in
    virtualization environment.

    For old revisions, mac addr is retrieved directly from flash.

    Signed-off-by: Dhananjay Phadke
    Signed-off-by: Jeff Garzik

    Dhananjay Phadke
     
  • This is a simple device ID add for adapters that support
    CX4 (copper infiniband style cable) connectors for 10GbE.

    Signed-off-by: Jesse Brandeburg
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Jesse Brandeburg
     
  • The removal of this bit of code was missed in an earlier patch submittal.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • Some systems do not like 82571/2 use of 16-bit MSI messages and some
    other systems claim to support MSI, but neither really works. Setup a
    test MSI handler to detect whether or not MSI is working properly, and
    if not, fallback to legacy INTx interrupts.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • Setting an MTU value below 68 was disabling the network connection and
    would not reconnect until the driver was reloaded. Prevent changing the
    MTU to anything below 68.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • Prevent Tx hangs from happening on 10Mb flood ping by increasing the
    timeout factor.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • The e1000e driver was based on a version of e1000 prior to acme's
    introduction of skb_copy_to_linear_data_offset, and was submitted
    after acme went through and coverted all the drivers to use it.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • During module load, seting the InterruptThrottleRate parameter to an
    invalid value would result in the itr/itr_setting pair being set to
    unexpected values which would result in poor performance.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • A number of users have mentioned they have tools that rely on a link-up
    indication having a return value of 1 rather than a non-zero value.

    Signed-off-by: Bruce Allan
    Signed-off-by: Jeff Kirsher
    Signed-off-by: Jeff Garzik

    Bruce Allan
     
  • Two regressions were introduced by the recent tlan: 64bit conversion
    commit (93e16847c9db0093065c98063cfc639cdfccf19a). The first in
    TLan_GetSKB caused a NULL pointer dereference. With the second causing
    the link to fail to come up.

    Signed-off-by: Robert Fitzsimons
    Signed-off-by: Jeff Garzik

    Robert Fitzsimons
     
  • On my test box with the Asus M3A32-MVP main board there is a
    regression from 2.6.26 related to suspend, hibernation and
    shutdown. Namely, if Wake-on-LAN is enabled with
    'ethtool -s eth0 wol g', the box hangs solid during all of these
    operations, while executing either sky2_suspend(), or
    sky2_shutdown(). This patch fixes it for me.

    Signed-off-by: Rafael J. Wysocki
    Signed-off-by: Jeff Garzik

    Rafael J. Wysocki
     
  • The patch was generated using the Coccinelle semantic patch framework.

    Cc: Julia Lawall
    Cc: Alexey Dobriyan
    Cc: Jeff Garzik
    Signed-off-by: Vegard Nossum
    Signed-off-by: Jeff Garzik

    Vegard Nossum
     
  • When myri10ge_fw_name is given, use it to override the rss firmware
    name as well.

    Signed-off-by: Brice Goglin
    Signed-off-by: Jeff Garzik

    Brice Goglin
     
  • The arm ixp4xx_eth driver doesn't compile in 2.6.27-rc1:

    CC [M] drivers/net/arm/ixp4xx_eth.o
    drivers/net/arm/ixp4xx_eth.c: In function 'eth_poll':
    drivers/net/arm/ixp4xx_eth.c:554: warning: passing argument 1 of 'dma_mapping_error' makes pointer from integer without a cast
    drivers/net/arm/ixp4xx_eth.c:554: error: too few arguments to function 'dma_mapping_error'
    drivers/net/arm/ixp4xx_eth.c: In function 'eth_xmit':
    drivers/net/arm/ixp4xx_eth.c:701: warning: passing argument 1 of 'dma_mapping_error' makes pointer from integer without a cast
    drivers/net/arm/ixp4xx_eth.c:701: error: too few arguments to function 'dma_mapping_error'
    drivers/net/arm/ixp4xx_eth.c: In function 'init_queues':
    drivers/net/arm/ixp4xx_eth.c:886: warning: passing argument 1 of 'dma_mapping_error' makes pointer from integer without a cast
    drivers/net/arm/ixp4xx_eth.c:886: error: too few arguments to function 'dma_mapping_error'
    make[3]: *** [drivers/net/arm/ixp4xx_eth.o] Error 1
    make[2]: *** [drivers/net/arm] Error 2
    make[1]: *** [drivers/net] Error 2
    make: *** [drivers] Error 2

    dma_mapping_error() changed in 2.6.27-rc1 to also take a device parameter,
    but nobody bothered updating ixp4xx_eth.c. Fixed by passing the appropriate
    device value in the dma_mapping_error() calls.

    Tested on an ixp425 box.

    Signed-off-by: Mikael Pettersson
    Acked-by: Krzysztof Halasa
    Signed-off-by: Jeff Garzik

    Mikael Pettersson
     
  • gfar_halt() was factored out into halting and disabling by commit
    d87eb12785c14de1586e3bad86ca2c0991300339, as the suspend() method
    only wants to do the former. However, the call to gfar_halt_nodisable()
    from gfar_halt() apparently got lost during the patch respin process.

    This adds it back.

    Signed-off-by: Scott Wood
    Signed-off-by: Jeff Garzik

    Scott Wood
     
  • The drivers below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
    drivers/net/acenic.c
    drivers/net/bnx2x_link.c
    drivers/net/bnx2x_main.c
    drivers/net/cpmac.c
    drivers/net/gianfar_sysfs.c
    drivers/net/ipg.h
    drivers/net/ppp_mppe.c
    drivers/net/pppol2tp.c
    drivers/net/r6040.c
    drivers/net/sh_eth.c
    drivers/net/sky2.c
    drivers/net/tehuti.h
    drivers/net/typhoon.c

    This patch removes the said #include .

    Signed-off-by: Huang Weiyi
    Signed-off-by: Jeff Garzik

    Huang Weiyi
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (47 commits)
    usb: musb: pass configuration specifics via pdata
    usb: musb: fix hanging when rmmod gadget driver
    USB: Add MUSB and TUSB support
    USB: serial: remove CONFIG_USB_DEBUG from sierra and option drivers
    USB: Add vendor/product id of ZTE MF628 to option
    USB: quirk PLL power down mode
    USB: omap_udc: fix compilation with debug enabled
    usb: cdc-acm: drain writes on close
    usb: cdc-acm: stop dropping tx buffers
    usb: cdc-acm: bugfix release()
    usb gadget: issue notifications from ACM function
    usb gadget: remove needless struct members
    USB: sh: r8a66597-hcd: fix disconnect regression
    USB: isp1301: fix compilation
    USB: fix compiler warning fix
    usb-storage: unusual_devs entry for Nokia 5300
    USB: cdc-acm.c: Fix compile warnings
    USB: BandRich BandLuxe C150/C250 HSPA Data Card Driver
    USB: ftdi_sio: add support for PHI Fisco data cable (FT232BM based, VID/PID 0403:e40b)
    usb: isp1760: don't be noisy about short packets.
    ...

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    CRED: Introduce credential access wrappers

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (56 commits)
    netns: Fix crash by making igmp per namespace
    bnx2x: Version update
    bnx2x: Checkpatch compliance
    bnx2x: Spelling mistakes
    bnx2x: Minor code improvements
    bnx2x: Driver info
    bnx2x: 1G LED does not turn off
    bnx2x: 8073 PHY changes
    bnx2x: Change GPIO for any port
    bnx2x: Pause settings
    bnx2x: Link order with external PHY
    bnx2x: No LRO without Rx checksum
    bnx2x: Wrong structure size
    bnx2x: WoL capability
    bnx2x: Clearing MAC addresses filters
    bnx2x: Delay in while loops
    bnx2x: PBA Table Page Alignment Workaround
    bnx2x: Self-test false positive
    bnx2x: Memory allocation
    bnx2x: HW attention lock
    ...

    Linus Torvalds