1. Mar 25, 2007
  2. Mar 24, 2007
  3. Mar 23, 2007
    • Linus Torvalds's avatar
      Revert "ACPI: Only use IPI on known broken machines (AMD, Dothan/BaniasPentium M)" · 296d93cd
      Linus Torvalds authored
      This reverts commit 25496cae
      
      , which
      broke bootup on at least Ingo's ThinkPad T60.  Need to figure out
      exactly what is wrong before we can re-do the logic.
      
      Requested-by: default avatarIngo Molnar <mingo@elte.hu>
      Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
      Cc: Thomas Renninger <trenn@suse.de>
      Cc: Len Brown <len.brown@intel.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      296d93cd
    • Stefan Richter's avatar
      ieee1394: fix oops on "modprobe -r ohci1394" after network class_device conversion · 7a9eeb2f
      Stefan Richter authored
      The networking subsystem has been converted from class_device to device
      but ieee1394 hasn't.  This results in a 100% reproducible NULL pointer
      dereference if the ohci1394 driver module is unloaded while the eth1394
      module is still loaded.
      http://lkml.org/lkml/2006/11/16/147
      http://lkml.org/lkml/2007/3/14/4
      
      
      
      This is a regression in 2.6.21-rc1.
      
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Tested-by: default avatarIsmail Dönmez <ismail@pardus.org.tr>
      7a9eeb2f
    • Jeff Garzik's avatar
      [netdrvr] ewrk3: correct card detection bug · 991b5557
      Jeff Garzik authored
      
      
      Arwin Vosselman pointed out:
      > The ewrk3-driver doesn't function with 2.6.16-kernels (used 2.6.16.41 for
      > my tests). Cards will never be detected due to this bug.
      >
      > drivers/net/ewrks3.c:
      > Line 417 reads:
      >
      > if (nicsr == (CSR_TXD | CSR_RXD))
      >
      > that should be:
      >
      > if (nicsr != (CSR_TXD | CSR_RXD))
      >
      > Comparison with the same line in v2.4 shows why:
      >
      > 2.4:
      > if (nicsr == (CSR_TXD | CSR_RXD)){
      >
      > blah, blah
      > ==========
      > 2.6:
      > if (nicsr == (CSR_TXD | CSR_RXD))
      >     return -ENXIO;
      >
      > blah, blah
      > ==========
      >
      > blah,blah will not, but should, be executed in 2.6 with a card being present.
      >
      > The fix mentioned above solves this bug.
      
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      991b5557
    • Jeff Garzik's avatar
      Merge branch 'upstream-fixes' of... · 604119a4
      Jeff Garzik authored
      Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into tmp
      604119a4
    • Divy Le Ray's avatar
      cxgb3 - fix white spaces in drivers/net/Kconfig · 194c1fbe
      Divy Le Ray authored
      
      
      Use tabs instead of white spaces for CHELSIO_T3 entry.
      
      Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      194c1fbe
    • Brice Goglin's avatar
      myri10ge: update driver version to 1.3.0-1.226 · 2ea34672
      Brice Goglin authored
      
      
      Driver version is now 1.3.0-1.226.
      
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      2ea34672
    • Brice Goglin's avatar
      myri10ge: fix management of >4kB allocated pages · b52a8b7f
      Brice Goglin authored
      
      
      Fix management of allocated physical pages when the architecture
      page size is not 4kB since the firmware cannot cross 4K boundary.
      
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      b52a8b7f
    • Brice Goglin's avatar
      myri10ge: update wcfifo and intr_coal_delay default values · f761fae1
      Brice Goglin authored
      
      
      Update the default value of 2 module parameters:
      * wcfifo disabled
      * intr_coal_delay 75us
      
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      f761fae1
    • Brice Goglin's avatar
      myri10ge: Serverworks HT2100 provides aligned PCIe completion · aafa70eb
      Brice Goglin authored
      
      
      [PATCH 1/4] myri10ge: Serverworks HT2100 provides aligned PCIe completion
      
      Use the regular firmware on Serverworks HT2100 PCIe ports since this
      chipset provides aligned PCIe completion.
      
      Signed-off-by: default avatarBrice Goglin <brice@myri.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      aafa70eb
    • Dale Farnsworth's avatar
      mv643xx_eth: add mv643xx_eth_shutdown function · d57ab6fd
      Dale Farnsworth authored
      
      
      mv643xx_eth_shutdown is needed for kexec.
      
      Signed-off-by: default avatarDale Farnsworth <dale@farnsworth.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      d57ab6fd
    • Ralf Baechle's avatar
      SAA9730: Fix large pile of warnings · 69a43ac0
      Ralf Baechle authored
      
      
      The SAA9730 driver doesn't quite grok what the difference between an ioport
      and memory mapped I/O is.  It just happened to work on the one Linux
      system the SAA9730 happens to spend it's misserable existence on.
      
      drivers/net/saa9730.c: In function 'evm_saa9730_enable_lan_int':
      drivers/net/saa9730.c:68: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:70: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:72: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'evm_saa9730_disable_lan_int':
      drivers/net/saa9730.c:78: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:80: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'evm_saa9730_clear_lan_int':
      drivers/net/saa9730.c:85: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'evm_saa9730_block_lan_int':
      drivers/net/saa9730.c:91: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'evm_saa9730_unblock_lan_int':
      drivers/net/saa9730.c:97: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'show_saa9730_regs':
      drivers/net/saa9730.c:150: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_allocate_buffers':
      drivers/net/saa9730.c:292: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:295: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:302: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:305: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:312: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_cam_load':
      drivers/net/saa9730.c:329: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:332: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_mii_init':
      drivers/net/saa9730.c:369: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:395: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:403: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:410: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:432: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_control_init':
      drivers/net/saa9730.c:470: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:474: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:478: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:484: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:487: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:490: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:493: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_stop':
      drivers/net/saa9730.c:505: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:508: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:510: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_dma_init':
      drivers/net/saa9730.c:536: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_start':
      drivers/net/saa9730.c:556: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:560: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:564: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:567: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_tx':
      drivers/net/saa9730.c:590: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_rx':
      drivers/net/saa9730.c:664: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:729: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_write':
      drivers/net/saa9730.c:848: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c: In function 'lan_saa9730_set_multicast':
      drivers/net/saa9730.c:943: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      drivers/net/saa9730.c:949: warning: passing argument 2 of 'outl' makes integer from pointer without a cast
      
      Fixed by using writel instead of outl.  42 warnings less.
      
      Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      69a43ac0
    • Li Yang's avatar
      Revert "ucc_geth: returns NETDEV_TX_BUSY when BD ring is full" · 6f6881b8
      Li Yang authored
      This reverts commit 18babd38
      
      .
      
      Michael Barkowski points out that it's wrong, and I agree.  The
      patch causes a problem rather than fixes one after another
      patch "ucc_geth: Fix BD processing" was applied.  Before that
      patch, current packet should be blocked.  However after the patch
      current packet is ok and we only need to block next.
      
      Reported-by: default avatarMichael Barkowski <michael.barkowski@freescale.com>
      Signed-off-by: default avatarLi Yang <leoli@freescale.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      6f6881b8
    • Divy Le Ray's avatar
      cxgb3 - T3B2 pcie config space · e4d08359
      Divy Le Ray authored
      
      
      T3B2 does not lose its pcie config space on reset.
      
      Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      e4d08359
    • Divy Le Ray's avatar
      cxgb3 - Fix potential MAC hang · fc90664e
      Divy Le Ray authored
      
      
      Under rare conditions, the MAC might hang while generating a pause frame.
      This patch fine tunes the MAC settings to avoid the issue, allows for
      periodic MAC state check, and triggers a recovery if hung.
      
      Also fix one MAC statistics counter for the rev board T3B2.
      
      Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      fc90664e
    • Divy Le Ray's avatar
      cxgb3 - Auto-load FW if mismatch detected · 2e283962
      Divy Le Ray authored
      
      
      The driver attempts to upgrade the FW if the card has the wrong version.
      
      Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      2e283962
    • Divy Le Ray's avatar
      cxgb3 - fix ethtool cmd on multiple queues port · 05b97b30
      Divy Le Ray authored
      
      
      Limit ethtool -g/-G to the given port's queues.
      
      Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
      Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
      05b97b30