02 Dec, 2006

40 commits

  • Output signal strength information as part of iwlist scan - before it did
    not output any signal strength related information.

    Signed-off-by: Holden Karau
    Cc: Jean Tourrilhes
    Signed-off-by: Andrew Morton
    Signed-off-by: John W. Linville

    Holden Karau
     
  • NET: prism54 - whitespace cleanup

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: John W. Linville

    Dmitry Torokhov
     
  • NET: prism54 - fix potential race in reset scheduling

    There appears to be a race in reset scheduling logic - thread
    responsible for reseting the interface should clear "reset
    pending" flag before restarting the queue, otherwise timeout
    handler might not schedule another reset even if it is needed.

    This race is mostly theoretical as far as I can see but a race
    nonetheless.

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: John W. Linville

    Dmitry Torokhov
     
  • NET: atmel: whitespace cleanup

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: John W. Linville

    Dmitry Torokhov
     
  • NET: atmel - switch to using ARRAY_SIZE()

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: John W. Linville

    Dmitry Torokhov
     
  • NET: atmel - do not initialize array over and over again

    Signed-off-by: Dmitry Torokhov
    Signed-off-by: John W. Linville

    Dmitry Torokhov
     
  • In the SoftMAC version of the IEEE 802.11 stack, not all duplicate messages are
    detected. For the most part, there is no difficulty; however for TKIP and CCMP
    encryption, the duplicates result in a "replay detected" log message where the
    received and previous values of the TSC are identical. This change adds a new
    variable to the ieee80211_device structure that holds the 'seq_ctl' value for
    the previous frame. When a new frame repeats the value, the frame is dropped and
    the appropriate counter is incremented.

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

    Larry Finger
     
  • Hi

    this patch allow to set the mtu between 1500 and 2304 (max octets in an
    MSDU) for devices using ieee80211 linux stack.

    Signed-off-by: Matthieu CASTET
    Signed-off-by: John W. Linville

    matthieu castet
     
  • This patch adds a host_strip_iv_icv flag to ieee80211 which indicates that
    ieee80211_rx should strip the IV/ICV/other security features from the payload.
    This saves on some memmove() calls in the driver and seems like something that
    belongs in the stack as it can be used by bcm43xx, ipw2200, and zd1211rw

    I will submit the ipw2200 patch separately as it needs testing.

    This patch also adds some sensible variable reuse (idx vs keyidx) in
    ieee80211_rx

    Signed-off-by: Daniel Drake
    Acked-by: Johannes Berg
    Signed-off-by: John W. Linville

    Daniel Drake
     
  • iNexQ UR055g: Tested by Todor T Zviskov
    zd1211 chip 1435:0711 v4330 high 00-10-a7 AL2230_RF pa0 g--

    ZyXEL AG-225, FCC ID SI5WUB410: Tested by Nathan
    zd1211 chip 0586:3409 v4810 full 00-13-49 AL7230B_RF pa0 g---

    Yakumo QuickWLAN USB: Tested by EdB
    zd1211 chip 0b3b:1630 v4330 high 00-01-36 RF2959_RF pa0 ---

    Signed-off-by: Daniel Drake
    Signed-off-by: John W. Linville

    Daniel Drake
     
  • The bcm43xx-softmac driver fails to set two quantities needed for
    iwlist to compute wireless quality when scanning. As a result, userland
    programs using the quality to determine the best connection fail.

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

    Larry Finger
     
  • The rest of 8390 conversions; ifdef cascade in 8390.h is gone now.

    Signed-off-by: Al Viro
    Signed-off-by: Jeff Garzik

    Al Viro
     
  • Signed-off-by: Al Viro
    Signed-off-by: Jeff Garzik

    Al Viro
     
  • more 8390 conversions - mac8390, zorro8390 and hydra got the same treatment
    as arm etherh; one more case in 8390.h ifdef cascade is gone.

    Signed-off-by: Al Viro
    Signed-off-by: Jeff Garzik

    Al Viro
     
  • etherh and a handful of other odd drivers use different macros when building
    8390.c. Since we generate a single 8390.o and then link with it, in any
    config with both oddball and normal 8390-based driver we will end up with
    breakage in at least one of them. Solution: take most of 8390.c into
    lib8390.c and have 8390.c, etherh.c and the rest of oddballs #include it.
    Helper macros are taken from 8390.h to whoever includes lib8390.c. That
    way odd drivers get separate instances of compiled 8390 stuff and stop
    stepping on each other's toes. 8390.h gets cleaned up - we don't have
    the cascade of ifdefs in there and are left with the stuff that can be
    used by any 8390-based driver. Current problems are exactly because of
    that cascade - we attempt to choose the set of helpers by looking at config
    and that, of course, doesn't work well when we have several sets needed
    by various drivers in our config.

    Signed-off-by: Al Viro
    Signed-off-by: Jeff Garzik

    Al Viro
     
  • Add MII ioctl support to the deprecated sk98lin driver.
    This allows comparison with skge driver's PHY settings.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • Add support for dumping the registers in the deprecated
    sk98lin driver. This is allows for easier comparison with
    settings in new skge driver.

    Signed-off-by: Stephen Hemminger
    Signed-off-by: Jeff Garzik

    Stephen Hemminger
     
  • pci_module_init() convertion in olympic.c

    Signed-off-by: Henrik Kretzschmar
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Henrik Kretzschmar
     
  • This was spotted by coverity (cid #793). All callers dereference dev
    before calling this functions, and we dereference it earlier in the
    function, when initializing lp.

    Signed-off-by: Eric Sesterhenn
    Cc: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Eric Sesterhenn
     
  • Tobias Diedrich sayeth:

    Vanilla forcedeth doesn't seem to support suspend and an ifdown/up-cycle is
    needed to get it working again after suspend. Francois Romieu's "Awfully
    experimental" patch is working just fine for me (with message signalled
    interrupts disabled) and has survived quite a few suspend/resume cycles.

    So I'd very much like to see (at least partial, with msi disabled)
    suspend support for forcedeth in mainline.

    (Addresses http://bugzilla.kernel.org/show_bug.cgi?id=6398)

    Cc: Francois Romieu
    Cc; Jeff Garzik
    Cc: Manfred Spraul
    Cc: Ayaz Abdulla
    Signed-off-by: Andrew Morton
    Signed-off-by: Jeff Garzik

    Francois Romieu
     
  • This patch fixes a couple of problems discovered with interrupt handling
    in the phylib core, namely:

    1. The driver uses timer and workqueue calls, but does not include
    nor .

    2. The driver uses schedule_work() for handling interrupts, but does not
    make sure any pending work scheduled thus has been completed before
    driver's structures get freed from memory. This is especially
    important as interrupts may keep arriving if the line is shared with
    another PHY.

    The solution is to ignore phy_interrupt() calls if the reported device
    has already been halted and calling flush_scheduled_work() from
    phy_stop_interrupts() (but guarded with current_is_keventd() in case
    the function has been called through keventd from the MAC device's
    close call to avoid a deadlock on the netlink lock).

    Signed-off-by: Maciej W. Rozycki

    patch-mips-2.6.18-20060920-phy-irq-16
    Signed-off-by: Jeff Garzik

    Maciej W. Rozycki
     
  • The uses some types and macros defined in
    , , and ,
    but fails to include these headers.

    Signed-off-by: Maciej W. Rozycki

    patch-mips-2.6.18-20060920-include-phy-16
    Signed-off-by: Jeff Garzik

    Maciej W. Rozycki
     
  • This patch adds support for interrupt-driven operation of the Broadcom
    Gigabit Ethernet PHYs. I have included device IDs for the parts used on
    Broadcom SiByte evaluation boards; more can be added as a need arises.
    They are apparently generally software-compatible with one another.

    Signed-off-by: Maciej W. Rozycki

    patch-mips-2.6.18-20060920-broadcom-phy-15
    Signed-off-by: Jeff Garzik

    Maciej W. Rozycki
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    [PATCH] Fix an offset error when reading the CS89x0 ADD_PORT register
    [PATCH] spidernet: poor network performance
    [PATCH] Spidernet: remove ETH_ZLEN check in earlier patch
    [PATCH] bonding: fix an oops when slave device does not provide get_stats
    [PATCH] drivers/net: SAA9730: Fix build error
    Revert "[PATCH] zd1211rw: Removed unneeded packed attributes"
    [PATCH] zd1211rw: Fix of a locking bug
    [PATCH] softmac: remove netif_tx_disable when scanning
    [PATCH] ieee80211: Fix kernel panic when QoS is enabled

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
    [WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 4
    [WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 3
    [WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 2
    [WATCHDOG] MIPS RM9000 on-chip watchdog device - patch 1
    [WATCHDOG] MIPS RM9000 on-chip watchdog device
    [WATCHDOG] Add iTCO vendor specific support
    [WATCHDOG] sc1200wdt.c pnp unregister fix.
    [WATCHDOG] config.h removal
    [WATCHDOG] NS pc87413-wdt Watchdog driver - fixes
    [WATCHDOG] NS pc87413-wdt Watchdog driver v1.1
    [WATCHDOG] NS pc87413-wdt Watchdog driver

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    [PATCH] libata: add missing sht->slave_destroy
    [PATCH] ahci: ignore PORT_IRQ_IF_ERR on JMB controllers

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (31 commits)
    [MIPS] Remove duplicate ISA DMA code for 0 DMA channel case.
    [MIPS] Remove unused definition of cpu_to_lelongp()
    [MIPS] Remove userspace proofing from .
    [MIPS] Remove old junk left from old atomic_lock.
    [MIPS] Use conditional traps for BUG_ON on MIPS II and better.
    [MIPS] mips HPT cleanup: make clocksource_mips public
    [MIPS] do_IRQ cleanup
    [MIPS] Avoid dupliate D-cache flush on R400C / R4400 SC and MC variants.
    [MIPS] Remove redundant r4k_blast_icache() calls
    [MIPS] Work around bogus gcc warnings.
    [MIPS] Fix double inclusions
    [MIPS] use generic_handle_irq, handle_level_irq, handle_percpu_irq
    [MIPS] IRQ cleanups
    [MIPS] mips hpt cleanup: get rid of mips_hpt_init
    [MIPS] PB1200: Remove duplicate definitions
    [MIPS] Fix alignment hole in struct cache_desc; shrink struct.
    [MIPS] Oprofile: kernel support for the R10000.
    [MIPS] Remove unused R10000 performance counter definitions.
    [MIPS] Add support for kexec
    [MIPS] Don't print presence of WAIT instruction on bootup.
    ...

    Linus Torvalds
     
  • * 'for-2.6.20' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6:
    SELinux: validate kernel object classes and permissions
    SELinux: ensure keys constant in hashtab_search
    SELinux: export object class and permission definitions
    SELinux: remove current object class and permission validation mechanism

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (25 commits)
    IB/ucm: Fix deadlock in cleanup
    IB/cm: Fix automatic path migration support
    IPoIB: Fix skb leak when freeing neighbour
    IB/srp: Fix memory leak on reconnect
    RDMA/addr: list_move() cleanups
    RDMA/addr: Fix some cancellation problems in process_req()
    RDMA/amso1100: Prevent deadlock in destroy QP
    IB/mthca: Fix initial SRQ logsize for mem-free HCAs
    IB/ehca: Use WQE offset instead of WQE addr for pending work reqs
    RDMA/iwcm: Fix comment for iwcm_deref_id() to match code
    RDMA/iwcm: Remove unnecessary function argument
    RDMA/iwcm: Remove unnecessary initializations
    RDMA/iwcm: Fix memory leak
    RDMA/iwcm: Fix memory corruption bug in cm_work_handler()
    IB: Convert kmem_cache_t -> struct kmem_cache
    IB/ipath: Fix typo in pma_counter_select subscript
    RDMA/amso1100: Fix section mismatches
    IB/mthca: Fix section mismatches
    IB/srp: Increase supported CDB size
    RDMA/cm: Remove setting local write as part of QP access flags
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6: (103 commits)
    usbcore: remove unused argument in autosuspend
    USB: keep count of unsuspended children
    USB hub: simplify remote-wakeup handling
    USB: struct usb_device: change flag to bitflag
    OHCI: make autostop conditional on CONFIG_PM
    USB: Add autosuspend support to the hub driver
    EHCI: Fix root-hub and port suspend/resume problems
    USB: create a new thread for every USB device found during the probe sequence
    USB: add driver for the USB debug devices
    USB: added dynamic major number for USB endpoints
    USB: pegasus error path not resetting task's state
    USB: endianness fix for asix.c
    USB: build the appledisplay driver
    USB serial: replace kmalloc+memset with kzalloc
    USB: hid-core: canonical defines for Apple USB device IDs
    USB: idmouse cleanup
    USB: make drivers/usb/core/driver.c:usb_device_match() static
    USB: lh7a40x_udc remove double declaration
    USB: pxa2xx_udc recognizes ixp425 rev b0 chip
    usbtouchscreen: add support for DMC TSC-10/25 devices
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6: (28 commits)
    PCI: make arch/i386/pci/common.c:pci_bf_sort static
    PCI: ibmphp_pci.c: fix NULL dereference
    pciehp: remove unnecessary pci_disable_msi
    pciehp: remove unnecessary free_irq
    PCI: rpaphp: change device tree examination
    PCI: Change memory allocation for acpiphp slots
    i2c-i801: SMBus patch for Intel ICH9
    PCI: irq: irq and pci_ids patch for Intel ICH9
    PCI: pci_{enable,disable}_device() nestable ports
    PCI: switch pci_{enable,disable}_device() to be nestable
    PCI: arch/i386/kernel/pci-dma.c: ioremap balanced with iounmap
    pci/i386: style cleanups
    PCI: Block on access to temporarily unavailable pci device
    pci: fix __pci_register_driver error handling
    pci: clear osc support flags if no _OSC method
    acpiphp: fix missing acpiphp_glue_exit()
    acpiphp: fix use of list_for_each macro
    Altix: Initial ACPI support - ROM shadowing.
    Altix: SN ACPI hotplug support.
    Altix: Add initial ACPI IO support
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
    Driver core: show drivers in /sys/module/
    Documentation/driver-model/platform.txt update/rewrite
    Driver core: platform_driver_probe(), can save codespace
    driver core: Use klist_remove() in device_move()
    driver core: Introduce device_move(): move a device to a new parent.
    Driver core: make drivers/base/core.c:setup_parent() static
    driver core: Introduce device_find_child().
    sysfs: sysfs_write_file() writes zero terminated data
    cpu topology: consider sysfs_create_group return value
    Driver core: Call platform_notify_remove later
    ACPI: Change ACPI to use dev_archdata instead of firmware_data
    Driver core: add dev_archdata to struct device
    Driver core: convert sound core to use struct device
    Driver core: change mem class_devices to be real devices
    Driver core: convert fb code to use struct device
    Driver core: convert firmware code to use struct device
    Driver core: convert mmc code to use struct device
    Driver core: convert ppdev code to use struct device
    Driver core: convert PPP code to use struct device
    Driver core: convert cpuid code to use struct device
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6:
    [CIFS] Fix timezone handling on stat to os/2
    [CIFS] Incorrect hardlink count when original file is cached (oplocked)

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
    Fix typos in drivers/isdn/hisax/isdnl2.c
    Fix typos in doc and comments
    BUG_ON conversion for fs/aio.c
    BUG_ON conversion for drivers/mmc/omap.c
    BUG_ON conversion for drivers/media/video/pwc/pwc-if.c
    Fix misc .c/.h comment typos
    Fix misc Kconfig typos
    Fix typos in /Documentation : Misc
    Fix typos in /Documentation : 'U-Z'
    Fix typos in /Documentation : 'T''
    Fix jiffies.h comment
    tabify MAINTAINERS
    fix spelling error in include/linux/kernel.h
    mqueue.h: don't include linux/types.h

    Linus Torvalds
     
  • Show the drivers, which belong to the module:
    $ ls -l /sys/module/usbcore/drivers/
    hub -> ../../../bus/usb/drivers/hub
    usb -> ../../../bus/usb/drivers/usb
    usbfs -> ../../../bus/usb/drivers/usbfs

    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • This is almost a rewrite of the driver-model/platform.txt documentation;
    the previous text was obsolete (for several years), evidently it never
    got updated to match the change from being a PC "legacy_bus" to the more
    widely used core bus for most embedded systems.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • This defines a new platform_driver_probe() method allowing the driver's
    probe() method, and its support code+data, to safely live in __init
    sections for typical system configurations.

    Many system-on-chip processors could benefit from this API, to the tune
    of recovering hundreds to thousands of bytes per driver. That's memory
    which is currently wasted holding code which can never be called after
    system startup, yet can not be removed. It can't be removed because of
    the linkage requirement that pointers to init section code (like, ideally,
    probe support) must not live in other sections (like driver method tables)
    after those pointers would be invalid.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • As pointed out by Alan Stern, device_move needs to use klist_remove which waits
    until removal is complete.

    Signed-off-by: Cornelia Huck
    Cc: Alan Stern
    Signed-off-by: Greg Kroah-Hartman

    Cornelia Huck
     
  • Provide a function device_move() to move a device to a new parent device. Add
    auxilliary functions kobject_move() and sysfs_move_dir().
    kobject_move() generates a new uevent of type KOBJ_MOVE, containing the
    previous path (DEVPATH_OLD) in addition to the usual values. For this, a new
    interface kobject_uevent_env() is created that allows to add further
    environmental data to the uevent at the kobject layer.

    Signed-off-by: Cornelia Huck
    Acked-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Cornelia Huck
     
  • This patch makes the needlessly global setup_parent() static.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Greg Kroah-Hartman

    Adrian Bunk