1. 09 Mar, 2007 18 commits
    • Jeff Garzik's avatar
      Merge branch 'upstream-fixes' of... · 0a38f544
      Jeff Garzik authored
      Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes
      0a38f544
    • Ralf Baechle's avatar
      ibmtr: Drain rich supply of modpost warnings. · 82c00b62
      Ralf Baechle authored
      Building ibmtr as a module produces a spectacular pile of modpost warnings:
      
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x450) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x454) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x458) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x45c) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4e8) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4ec) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4f0) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x4f4) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x500) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x504) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x508) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:find_turbo_adapters from .text between 'ibmtr_probe_card' (at offset 0x50c) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x520) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x524) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x528) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data:ibmtr_portlist from .text between 'ibmtr_probe_card' (at offset 0x534) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x540) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x544) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x548) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.data: from .text between 'ibmtr_probe_card' (at offset 0x54c) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x558) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x55c) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x560) and 'ibmtr_reset_timer'
      WARNING: drivers/net/tokenring/ibmtr.o - Section mismatch: reference to .init.text:ibmtr_probe1 from .text between 'ibmtr_probe_card' (at offset 0x564) and 'ibmtr_reset_timer'
      
      Fix by making ibmtr_probe an __init function.
      
      While at it, move move ibmtr_probe_card below ibmtr_probe so the protoype
      for ibmtr_probe can be deleted.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      
       drivers/net/tokenring/ibmtr.c |   25 ++++++++++++-------------
       1 file changed, 12 insertions(+), 13 deletions(-)
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      82c00b62
    • Ralf Baechle's avatar
      3c59x: Fix several modpost warnings · 95c408a9
      Ralf Baechle authored
      WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4580) and 'vortex_eisa_remove'
      WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4584) and 'vortex_eisa_remove'
      WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x4588) and 'vortex_eisa_remove'
      WARNING: drivers/net/3c59x.o - Section mismatch: reference to .init.text: from .text between 'vortex_eisa_probe' (at offset 0x458c) and 'vortex_eisa_remove'
      
      Fixed by:
      
       o move definition of vortex_eisa_driver below the functions it references.
       o remove now unnecessary prototypes for vortex_eisa_probe and
         vortex_eisa_remove.
       o Make vortex_eisa_probe an __init function.
       o Make vortex_eisa_remove a __devexit function.
       o Wrap vortex_eisa_driver reference to vortex_eisa_remove with
         __devexit_p().
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      
       drivers/net/3c59x.c |   28 +++++++++++++---------------
       1 file changed, 13 insertions(+), 15 deletions(-)
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      95c408a9
    • Alan Cox's avatar
      z85230: Fix FIFO handling · fe797455
      Alan Cox authored
      We must exit immediately on a FIFO fill not take the end of packet path
      otherwise each underrun in PIO transmit mode causes a runt packet and the
      data is lost.
      Signed-off-by: default avatarAlan Cox <alan@redhat.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      fe797455
    • Francois Romieu's avatar
      r8169: fix a race between PCI probe and dev_open · 2efa53f3
      Francois Romieu authored
      Initialize the timer with the rest of the private-struct.
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      2efa53f3
    • Francois Romieu's avatar
      r8169: revert bogus BMCR reset · 9e0db8ef
      Francois Romieu authored
      Added during bf793295
      
      The current code requests a reset but prohibits autoneg, 1000 Mb/s,
      100 Mb/s and full duplex. The 8168 does not like it at all.
      Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      9e0db8ef
    • Stephen Hemminger's avatar
      sky2: turn off Rx checksum on bad hardware · 87418307
      Stephen Hemminger authored
      On Yukon FE, occasional hardware receive checksum errors are seen.
      An early indication of the problem is single bit differences in the two
      checksum engines.  Use this as a detection mechanism to turn off Rx
      checksumming.
      Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      87418307
    • Dale Farnsworth's avatar
    • Brice Goglin's avatar
      myri10ge: add a wc_enabled flag to myri10ge_priv · 276e26c3
      Brice Goglin authored
      Add a wc_enabled flag in the myri10ge_priv instead of relying
      on mtrr >= 0.
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      276e26c3
    • Brice Goglin's avatar
      myri10ge: prevent 4k rdma on SGI TIOCE chipset · 4c882dd8
      Brice Goglin authored
      Do not use 4k rdma request on SGI TIOCE chipset since this
      bridge does not support it.
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      4c882dd8
    • Brice Goglin's avatar
      myri10ge: use pci_map_page to prepare the dmatest buffer · 34fdccea
      Brice Goglin authored
      Allocate a specific page and use pci_map_page for dma test instead
      of relying on another existing buffer.
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      34fdccea
    • Brice Goglin's avatar
      myri10ge: fix error checking and return value in myri10ge_allocate_rings · 355c7265
      Brice Goglin authored
      Fix a missing error check in myri10ge_allocate_rings() and set status
      to -ENOMEM before all actual allocations so that the error path returns
      what it should.
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      355c7265
    • Ralf Baechle's avatar
      netxen: fix warnings · b8d095d7
      Ralf Baechle authored
        CC [M]  drivers/net/netxen/netxen_nic_hw.o
      drivers/net/netxen/netxen_nic_hw.c: In function 'netxen_nic_hw_resources':
      drivers/net/netxen/netxen_nic_hw.c:231: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
      drivers/net/netxen/netxen_nic_hw.c:250: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
      
      u64 is unsigned long so the cast to u64 will result in a warning on the
      printf arguments for 64-bit builds.  So cast to unsigned long long instead.
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      b8d095d7
    • Roger Luethi's avatar
      via-rhine: set avoid_D3 for broken BIOSes · e84df485
      Roger Luethi authored
      This patch sets avoid_D3 for BIOSes known to be broken. Said BIOSes fail
      at PXE boot if the chip is in power state D3.
      Signed-off-by: default avatarRoger Luethi <rl@hellgate.ch>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      e84df485
    • Dave Jones's avatar
      [PATCH] build fix for i386 earlyquirk.c · d0035aef
      Dave Jones authored
      missing close bracket.
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      d0035aef
    • Dave Jones's avatar
      [PATCH] update 'getting sparse' info. · a55028ff
      Dave Jones authored
       - point to the sparse webpage
       - use git:// instead of rsync://
      Signed-off-by: default avatarDave Jones <davej@redhat.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a55028ff
    • Len Brown's avatar
      [PATCH] ACPI: repair nvidia early quirk breakage on x86_64 · fe699336
      Len Brown authored
      x86_64 nvidia_bugs() broke when we bailed out on not finding the HPET.
      However, the quirk works by checking for _not_ finding the HPET...
      
      Delete the nvidia_hpet_detected flag and simply test for
      not finding the HPET, which is simple to do now that
      acpi_table_parse returns 1 on failure.
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fe699336
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband · eb9c4f2e
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
        IPoIB: Turn on interface's carrier after broadcast group is joined
        RDMA/ucma: Avoid sending reject if backlog is full
        RDMA/cxgb3: Fix MR permission problems
        RDMA/cxgb3: Don't reuse skbs that are non-linear or cloned
        RDMA/cxgb3: Squelch logging AE errors
        RDMA/cxgb3: Stop EP timer when MPA exchange is aborted by peer
        RDMA/cxgb3: Move QP to error on destroy if the state is IDLE
        RDMA/cxgb3: Fixes for "normal close" failures
        RDMA/cxgb3: Fix build on sparc64
        RDMA/cma: Initialize rdma_bind_list in cma_alloc_any_port()
        RDMA/cxgb3: Don't use mm after it's freed in iwch_mmap()
        RDMA/cxgb3: Start ep timer on a MPA reject
        IB/mthca: Fix error path in mthca_alloc_memfree()
        IB/ehca: Fix sync between completion handler and destroy cq
        IPoIB: Only handle async events for one port
      eb9c4f2e
  2. 08 Mar, 2007 22 commits