17 Sep, 2009

1 commit

  • Fix printk format warnings:

    drivers/ssb/sdio.c:336: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
    drivers/ssb/sdio.c:443: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'

    Signed-off-by: Randy Dunlap
    Signed-off-by: John W. Linville

    Randy Dunlap
     

15 Sep, 2009

2 commits


09 Sep, 2009

2 commits


29 Aug, 2009

1 commit


20 Aug, 2009

1 commit


14 Aug, 2009

1 commit


10 Jul, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
    cxgb3: Fix crash caused by stashing wrong netdev_queue
    ixgbe: Fix coexistence of FCoE and Flow Director in 82599
    memory barrier: adding smp_mb__after_lock
    net: adding memory barrier to the poll and receive callbacks
    netpoll: Fix carrier detection for drivers that are using phylib
    includecheck fix: include/linux, rfkill.h
    p54: tx refused but queue active
    Atheros Kconfig needs to be dependent on WLAN_80211
    mac80211: fix docbook
    mac80211_hwsim: avoid NULL access
    ssb: Add support for 4318E
    b43: Add support for 4318E
    zd1211rw: adding SONY IFU-WLM2 (054c:0257) as a zd1211b device
    zd1211rw: 07b8:6001 is a ZD1211B
    r6040: bump driver version to 0.24 and date to 08 July 2009
    r6040: restore MIER register correctly when IRQ line is shared
    ipv4: Fix fib_trie rebalancing, part 4 (root thresholds)
    davinci_emac: fix kernel oops when changing MAC address while interface is down
    igb: set lan id prior to configuring phy
    mac80211: minstrel: avoid accessing negative indices in rix_to_ndx()
    ...

    Linus Torvalds
     

09 Jul, 2009

2 commits

  • Added support for the Broadcom 4318E chipset on PCMCIA/CF cards. The
    4318E can do 802.11A/B/G, only B and G mode are supported in b43.

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

    Clyde McPherson
     
  • Commit 5fd29d6ccbc98884569d6f3105aeca70858b3e0f ("printk: clean up
    handling of log-levels and newlines") changed printk semantics. printk
    lines with multiple KERN_ prefixes are no longer emitted as
    before the patch.

    is now included in the output on each additional use.

    Remove all uses of multiple KERN_s in formats.

    Signed-off-by: Joe Perches
    Signed-off-by: Linus Torvalds

    Joe Perches
     

03 Jul, 2009

1 commit

  • The current ssb irq setup in ssb_mipscore_init has the problem that it
    configures some device on some irq without checking that the irq is not
    taken by an other device.

    For example in my case PCI host is on irq 0 and IPSEC on irq 3.
    The current code:
    - store in dev->irq that IPSEC irq is 3 + 2
    - do a set_irq 0->3 on PCI host

    But now IPSEC irq is not routed anymore to the mips code and dev->irq is
    wrong. This causes a problem described in [1].

    This patch tries to solve the problem by making set_irq configure the
    device we want to take the irq on the shared irq0. The previous example
    becomes:
    - store in dev->irq that IPSEC irq is 3 + 2
    - do a set_irq 0->3 on PCI host:
    - irq 3 is already taken by IPSEC. do a set_irq 3->0 on IPSEC

    I also added some code to print the irq configuration after irq setup to
    allow easier debugging. And I add extra checking in ssb_mips_irq to report
    device without irq or device with not routed irq.

    [1] http://www.danm.de/files/src/bcm5365p/REPORTED_DEVICES

    Signed-off-by: Matthieu CASTET
    Acked-by : Michael Buesch
    Tested-by: Florian Fainelli
    Signed-off-by: Ralf Baechle

    matthieu castet
     

08 Jun, 2009

1 commit


28 Mar, 2009

2 commits

  • 00:09.0 Network controller [0280]: Broadcom Corporation BCM4307 Ethernet Controller [14e4:4306] (rev 03)
    Subsystem: Broadcom Corporation BCM4307 Ethernet Controller [14e4:4306]
    Flags: bus master, fast devsel, latency 32, IRQ 10
    Memory at d7000000 (32-bit, non-prefetchable) [size=8K]
    Kernel driver in use: b43-pci-bridge
    Kernel modules: ssb

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

    Michael Buesch
     
  • ssb is not experimental anymore.

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

    Michael Buesch
     

06 Mar, 2009

1 commit

  • This adds SSB functionality to register a fallback SPROM image from the
    architecture setup code.

    Weird architectures exist that have half-assed SSB devices without SPROM attached to
    their PCI busses. The architecture can register a fallback SPROM image that is
    used if no SPROM is found on the SSB device.

    Signed-off-by: Michael Buesch
    Cc: Florian Fainelli
    Signed-off-by: John W. Linville

    Michael Buesch
     

10 Feb, 2009

1 commit


30 Jan, 2009

2 commits


22 Nov, 2008

1 commit

  • This patch is part of a larger patch series which will remove
    the "char bus_id[20]" name string from struct device. The device
    name is managed in the kobject anyway, and without any size
    limitation, and just needlessly copied into "struct device".

    To set and read the device name dev_name(dev) and dev_set_name(dev)
    must be used. If your code uses static kobjects, which it shouldn't
    do, "const char *init_name" can be used to statically provide the
    name the registered device should have. At registration time, the
    init_name field is cleared, to enforce the use of dev_name(dev) to
    access the device name at a later time.

    We need to get rid of all occurrences of bus_id in the entire tree
    to be able to enable the new interface. Please apply this patch,
    and possibly convert any remaining remaining occurrences of bus_id.

    We want to submit a patch to -next, which will remove bus_id from
    "struct device", to find the remaining pieces to convert, and finally
    switch over to the new api, which will remove the 20 bytes array
    and does no longer have a size limitation.

    CC: Michael Buesch
    Acked-by: Greg Kroah-Hartman
    Signed-Off-By: Kay Sievers
    Signed-off-by: John W. Linville

    Kay Sievers
     

11 Nov, 2008

1 commit


14 Oct, 2008

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (49 commits)
    pcmcia: ioctl-internal definitions
    pcmcia: cistpl header cleanup
    pcmcia: remove unused argument to pcmcia_parse_tuple()
    pcmcia: card services header cleanup
    pcmcia: device_id header cleanup
    pcmcia: encapsulate ioaddr_t
    pcmcia: cleanup device driver header file
    pcmcia: cleanup socket services header file
    pcmcia: merge ds_internal.h into cs_internal.h
    pcmcia: cleanup cs_internal.h
    pcmcia: cs_internal.h is internal
    pcmcia: use dev_printk for cs_error()
    pcmcia: remove CS_ error codes alltogether
    pcmcia: deprecate CS_BAD_TUPLE
    pcmcia: deprecate CS_BAD_ARGS
    pcmcia: deprecate CS_BAD_BASE, CS_BAD_IRQ, CS_BAD_OFFSET and CS_BAD_SIZE
    pcmcia: deprecate CS_BAD_ATTRIBUTE, CS_BAD_TYPE and CS_BAD_PAGE
    pcmcia: deprecate CS_NO_MORE_ITEMS
    pcmcia: deprecate CS_IN_USE
    pcmcia: deprecate CS_CONFIGURATION_LOCKED
    ...

    Fix trivial conflict in drivers/pcmcia/ds.c manually

    Linus Torvalds
     

01 Oct, 2008

1 commit


27 Sep, 2008

1 commit


30 Aug, 2008

2 commits

  • Only rev 1 and 2 ssb SPROMs have fields named et0mac and et1mac;
    however, all of the extraction routines extract pseudo data for these
    fields from regions that are all 1's resulting in a hardware address
    of FF:FF:FF:FF:FF:FF. This patch forces such a fill at the beginning of
    the data extraction process, and only does the formal extraction if the
    SPROM rev is 1 or 2.

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

    Larry Finger
     
  • Although a revision 5 SPROM has not been seen in the wild, the
    open-source portion of the MIPS driver 4.150.10.5 describes its
    layout, which is mostly inherited from revision 4. This patch
    implements the differences.

    Signed-off-by: Larry Finger
    Acked-by: Michael Buesch
    Signed-off-by: John W. Linville

    Larry Finger
     

23 Aug, 2008

2 commits

  • CS_NO_MORE_ITEMS is returned by the CIS tuple reading and parsing code if
    the end of a tuple chain is reached. As at least one PCMCIA driver relies
    on matching this return value, replace it with -ENOSPC which is now
    uniquely used for this purpose within the in-kernel pcmcia subsystem.

    CC: Russell King
    CC: linux-serial@vger.kernel.org
    CC: Michael Buesch
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     
  • Instead of using own error or success codes, the PCMCIA code should rely on
    the generic return values. Therefore, replace all occurrences of CS_SUCCESS
    with 0.

    CC: netdev@vger.kernel.org
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

18 Aug, 2008

1 commit


09 Jul, 2008

1 commit


08 Jul, 2008

1 commit


27 Jun, 2008

1 commit

  • This is a rewrite of the DMA API for SSB devices.
    This is needed, because the old (non-existing) "API" made too many bad
    assumptions on the API of the host-bus (PCI).
    This introduces an almost complete SSB-DMA-API that maps to the lowlevel
    bus-API based on the bustype.

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

    Michael Buesch
     

17 Jun, 2008

1 commit


14 Jun, 2008

1 commit


10 Jun, 2008

1 commit


05 Jun, 2008

1 commit


08 May, 2008

1 commit

  • The current code checks for the special signature that signifies
    a revision 4 SPROM. Now that a rev. 8 SPROM with a 440-byte length
    has been found that may not have any special code, this check could
    be relaxed. With this patch, if the CRC is incorrect for a 256-byte
    SPROM, the code will immediately check for a 440-byte SPROM. If there
    is still a CRC error, the size is set to 440 bytes, which allows dumping
    of most of any 512-byte SPROM if one is encountered.

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

    Larry.Finger@lwfinger.net
     

24 Apr, 2008

1 commit

  • In the SSB SPROM a field set to all ones means the value
    is not defined in the SPROM.
    In case of the boardflags, we need to set them to zero
    to avoid confusing drivers. Drivers will only check the
    flags by ANDing.

    Signed-off-by: Larry Finger
    Signed-off-by: Gabor Stefanik
    Signed-off-by: Michael Buesch
    Signed-off-by: John W. Linville

    Larry Finger
     

18 Apr, 2008

1 commit


17 Apr, 2008

1 commit