22 Nov, 2011

1 commit


25 Oct, 2011

3 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1745 commits)
    dp83640: free packet queues on remove
    dp83640: use proper function to free transmit time stamping packets
    ipv6: Do not use routes from locally generated RAs
    |PATCH net-next] tg3: add tx_dropped counter
    be2net: don't create multiple RX/TX rings in multi channel mode
    be2net: don't create multiple TXQs in BE2
    be2net: refactor VF setup/teardown code into be_vf_setup/clear()
    be2net: add vlan/rx-mode/flow-control config to be_setup()
    net_sched: cls_flow: use skb_header_pointer()
    ipv4: avoid useless call of the function check_peer_pmtu
    TCP: remove TCP_DEBUG
    net: Fix driver name for mdio-gpio.c
    ipv4: tcp: fix TOS value in ACK messages sent from TIME_WAIT
    rtnetlink: Add missing manual netlink notification in dev_change_net_namespaces
    ipv4: fix ipsec forward performance regression
    jme: fix irq storm after suspend/resume
    route: fix ICMP redirect validation
    net: hold sock reference while processing tx timestamps
    tcp: md5: add more const attributes
    Add ethtool -g support to virtio_net
    ...

    Fix up conflicts in:
    - drivers/net/Kconfig:
    The split-up generated a trivial conflict with removal of a
    stale reference to Documentation/networking/net-modules.txt.
    Remove it from the new location instead.
    - fs/sysfs/dir.c:
    Fairly nasty conflicts with the sysfs rb-tree usage, conflicting
    with Eric Biederman's changes for tagged directories.

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (59 commits)
    MAINTAINERS: linux-m32r is moderated for non-subscribers
    linux@lists.openrisc.net is moderated for non-subscribers
    Drop default from "DM365 codec select" choice
    parisc: Kconfig: cleanup Kernel page size default
    Kconfig: remove redundant CONFIG_ prefix on two symbols
    cris: remove arch/cris/arch-v32/lib/nand_init.S
    microblaze: add missing CONFIG_ prefixes
    h8300: drop puzzling Kconfig dependencies
    MAINTAINERS: microblaze-uclinux@itee.uq.edu.au is moderated for non-subscribers
    tty: drop superfluous dependency in Kconfig
    ARM: mxc: fix Kconfig typo 'i.MX51'
    Fix file references in Kconfig files
    aic7xxx: fix Kconfig references to READMEs
    Fix file references in drivers/ide/
    thinkpad_acpi: Fix printk typo 'bluestooth'
    bcmring: drop commented out line in Kconfig
    btmrvl_sdio: fix typo 'btmrvl_sdio_sd6888'
    doc: raw1394: Trivial typo fix
    CIFS: Don't free volume_info->UNC until we are entirely done with it.
    treewide: Correct spelling of successfully in comments
    ...

    Linus Torvalds
     
  • David S. Miller
     

18 Oct, 2011

1 commit


11 Oct, 2011

1 commit

  • Due to the 16 bit access to mscan registers there's too much data copied to
    the zero initialized CAN frame when having an odd number of bytes to copy.
    This patch ensures that only the requested bytes are copied by using an
    8 bit access for the remaining byte.

    Reported-by: Andre Naujoks
    Signed-off-by: Oliver Hartkopp
    Signed-off-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Wolfgang Grandegger
     

29 Sep, 2011

2 commits

  • This patch adds support for SJW user settings to not set the synchronization
    jump width (SJW) to 1 in any case when using the in-kernel bittiming
    calculation.

    The ip-tool from iproute2 already supports to pass the user defined SJW
    value. The given SJW value is sanitized with the controller specific sjw_max
    and the calculated tseg2 value. As the SJW can have values up to 4 providing
    this value will lead to the maximum possible SJW automatically. A higher SJW
    allows higher controller oscillator tolerances.

    Signed-off-by: Oliver Hartkopp
    Acked-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     
  • This patch adds the driver for the SJA1000 based PCMCIA card 'CPC-Card' from
    EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de).

    Signed-off-by: Oliver Hartkopp
    Acked-by: Markus Plessing
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     

28 Sep, 2011

1 commit

  • There are numerous broken references to Documentation files (in other
    Documentation files, in comments, etc.). These broken references are
    caused by typo's in the references, and by renames or removals of the
    Documentation files. Some broken references are simply odd.

    Fix these broken references, sometimes by dropping the irrelevant text
    they were part of.

    Signed-off-by: Paul Bolle
    Signed-off-by: Jiri Kosina

    Paul Bolle
     

22 Sep, 2011

1 commit

  • Conflicts:
    MAINTAINERS
    drivers/net/Kconfig
    drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
    drivers/net/ethernet/broadcom/tg3.c
    drivers/net/wireless/iwlwifi/iwl-pci.c
    drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c
    drivers/net/wireless/rt2x00/rt2800usb.c
    drivers/net/wireless/wl12xx/main.c

    David S. Miller
     

21 Sep, 2011

1 commit


17 Sep, 2011

1 commit


27 Aug, 2011

2 commits


21 Aug, 2011

1 commit


18 Aug, 2011

4 commits

  • If our CAN device's device tree node has a clock-frequency property,
    then use that value for the can devices clock frequency. If not, fall
    back to asking the platform/mach code for the clock frequency associated
    with the flexcan device.

    Signed-off-by: Robin Holt
    Acked-by: Wolfgang Grandegger ,
    Cc: Kumar Gala
    Cc: Marc Kleine-Budde ,
    Cc: U Bhaskar-B22300
    Cc: Scott Wood
    Cc: Grant Likely
    Cc: socketcan-core@lists.berlios.de,
    Cc: netdev@vger.kernel.org,
    Cc: PPC list
    Cc: devicetree-discuss@lists.ozlabs.org
    Signed-off-by: David S. Miller

    holt@sgi.com
     
  • On powerpc, the OpenFirmware devices are not matched without specifying
    an of_match array. Introduce that array as that is used for matching
    on the Freescale P1010 processor.

    Signed-off-by: Robin Holt
    Acked-by: Marc Kleine-Budde
    Acked-by: Wolfgang Grandegger
    Cc: U Bhaskar-B22300
    Cc: Grant Likely
    Cc: socketcan-core@lists.berlios.de
    Cc: netdev@vger.kernel.org
    Cc: PPC list
    Cc: devicetree-discuss@lists.ozlabs.org
    Signed-off-by: David S. Miller

    holt@sgi.com
     
  • Make flexcan driver handle register reads in the appropriate endianess.
    This was a basic search and replace and then define some inlines.

    Signed-off-by: Robin Holt
    Acked-by: Marc Kleine-Budde
    Acked-by: Wolfgang Grandegger
    Cc: U Bhaskar-B22300
    Cc: socketcan-core@lists.berlios.de
    Cc: netdev@vger.kernel.org
    Cc: PPC list
    Signed-off-by: David S. Miller

    holt@sgi.com
     
  • powerpc does not have a mach-####/clock.h. When testing, I found neither
    arm nor powerpc needed the mach/clock.h at all so I removed it.

    Signed-off-by: Robin Holt
    Acked-by: Marc Kleine-Budde
    Acked-by: Wolfgang Grandegger
    Cc: U Bhaskar-B22300
    Cc: socketcan-core@lists.berlios.de
    Cc: netdev@vger.kernel.org
    Cc: PPC list
    Signed-off-by: David S. Miller

    holt@sgi.com
     

15 Aug, 2011

1 commit

  • This patch fixes the following sparse warning by adding the missing
    __iomem annotation.

    drivers/net/can/mscan/mscan.c:73:32: warning: incorrect type in argument 1 (different address spaces)
    drivers/net/can/mscan/mscan.c:73:32: expected unsigned char volatile [noderef] [usertype] *addr
    drivers/net/can/mscan/mscan.c:73:32: got unsigned char *

    Signed-off-by: Marc Kleine-Budde

    Marc Kleine-Budde
     

14 Aug, 2011

1 commit

  • In this code, the failure_cleanup label calls the function
    plx_pci_del_card, which frees everything in the card->net_dev array. dev
    is placed in this array immediately after allocation, so the two subsequent
    jumps to failure_cleanup should not also call free_sja1000dev, but the
    second one does.

    If plx_pci_check_sja1000 fails, then free_sja1000dev is also called on
    dev. Because dev is already in the card->net_dev array, this implies that
    when plx_pci_del_card is later called, it may get freed again. So that
    entry is reset to NULL after the free.

    Finally, if there is a problem with one channel, there will be a hole in the
    array. card->channels counts the number of channels that have succeeded,
    and does not keep track of the index of the largest element in the array
    that is valid. So the loop in plx_pci_del_card is changed to go up to
    PLX_PCI_MAX_CHAN, which is only 2.

    Signed-off-by: Julia Lawall
    Signed-off-by: David S. Miller

    Julia Lawall
     

11 Aug, 2011

1 commit

  • As this discussion pointed out

    http://marc.info/?l=linux-netdev&m=131257225602375

    netdevices that are based on serial line disciplines should use netif_rx_ni()
    when pushing received socketbuffers into the netdev rx queue.

    Following commit 614851601c121b1320a35757ab88292d6272f906 ("slip: fix NOHZ
    local_softirq_pending 08 warning") this patch updates the slcan driver
    accordingly.

    Signed-off-by: Oliver Hartkopp
    CC: Matvejchikov Ilya
    CC: Alan Cox
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     

26 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (43 commits)
    fs: Merge split strings
    treewide: fix potentially dangerous trailing ';' in #defined values/expressions
    uwb: Fix misspelling of neighbourhood in comment
    net, netfilter: Remove redundant goto in ebt_ulog_packet
    trivial: don't touch files that are removed in the staging tree
    lib/vsprintf: replace link to Draft by final RFC number
    doc: Kconfig: `to be' -> `be'
    doc: Kconfig: Typo: square -> squared
    doc: Konfig: Documentation/power/{pm => apm-acpi}.txt
    drivers/net: static should be at beginning of declaration
    drivers/media: static should be at beginning of declaration
    drivers/i2c: static should be at beginning of declaration
    XTENSA: static should be at beginning of declaration
    SH: static should be at beginning of declaration
    MIPS: static should be at beginning of declaration
    ARM: static should be at beginning of declaration
    rcu: treewide: Do not use rcu_read_lock_held when calling rcu_dereference_check
    Update my e-mail address
    PCIe ASPM: forcedly -> forcibly
    gma500: push through device driver tree
    ...

    Fix up trivial conflicts:
    - arch/arm/mach-ep93xx/dma-m2p.c (deleted)
    - drivers/gpio/gpio-ep93xx.c (renamed and context nearby)
    - drivers/net/r8169.c (just context changes)

    Linus Torvalds
     

24 Jul, 2011

1 commit


22 Jul, 2011

1 commit


20 Jul, 2011

1 commit


19 Jul, 2011

1 commit


15 Jul, 2011

1 commit

  • This patch removes obsolete code in the initialisation/creation of
    slcan devices.

    It follows the suggested cleanups from Ilya Matvejchikov in
    drivers/net/slip.c that where recently applied to net-next-2.6:

    - slip: remove dead code within the slip initialization
    - slip: remove redundant check slip_devs for NULL

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

    Oliver Hartkopp
     

11 Jul, 2011

1 commit


06 Jul, 2011

1 commit


01 Jul, 2011

1 commit


29 Jun, 2011

2 commits

  • The two options "CAN bit-timing calculation" and
    "Platform CAN drivers with Netlink support" have a "default Y". In order to
    activate them by default, change to "default y".

    Signed-off-by: Marc Kleine-Budde
    Acked-by: Wolfgang Grandegger
    Acked-by: Kurt Van Dijck
    Signed-off-by: David S. Miller

    Marc Kleine-Budde
     
  • fixes these build errors:

    drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_read_reg':
    drivers/net/can/sja1000/sja1000_of_platform.c:61:2: error: implicit declaration of function 'in_8'
    drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_write_reg':
    drivers/net/can/sja1000/sja1000_of_platform.c:67:2: error: implicit declaration of function 'out_8'
    drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_remove':
    drivers/net/can/sja1000/sja1000_of_platform.c:81:2: error: implicit declaration of function 'iounmap'
    drivers/net/can/sja1000/sja1000_of_platform.c: In function 'sja1000_ofp_probe':
    drivers/net/can/sja1000/sja1000_of_platform.c:113:2: error: implicit declaration of function 'ioremap_nocache'
    drivers/net/can/sja1000/sja1000_of_platform.c:113:7: warning: assignment makes pointer from integer without a cast

    Caused by commit b7f080cfe223 ("net: remove mm.h inclusion from
    netdevice.h").

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

    Stephen Rothwell
     

28 Jun, 2011

2 commits

  • Since we have a struct that defines the sizes of the registers, we don't
    need to explicitly use the 16bit read/write helpers. Let the code figure
    out which size access to make based on the size of the C type.

    There should be no functional changes here.

    Signed-off-by: Mike Frysinger
    Acked-by: Wolfgang Grandegger
    Signed-off-by: David S. Miller

    Mike Frysinger
     
  • If we look closely, the 4 writes to TRANSMIT_CHL.id1 can be collapsed
    down into much simpler code. So do just that.

    This also fixes a build failure due to the I/O macros no longer
    getting pulled in. Their minor (and accidental) usage here gets
    dropped as part of the unification.

    Signed-off-by: Mike Frysinger
    Acked-by: Wolfgang Grandegger
    Acked-by: Kurt Van Dijck
    Signed-off-by: David S. Miller

    Mike Frysinger
     

24 Jun, 2011

1 commit


22 Jun, 2011

1 commit

  • Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).

    To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
    definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
    via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
    Removal of mm.h from scatterlist.h was tried and was found not feasible
    on most archs, so the link was cutoff earlier.

    Hope people are OK with tiny include file.

    Note, that mm_types.h is still dragged in, but it is a separate story.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     

20 Jun, 2011

1 commit


10 Jun, 2011

1 commit


07 Jun, 2011

1 commit