1. 21 3月, 2006 4 次提交
  2. 20 3月, 2006 2 次提交
  3. 12 3月, 2006 1 次提交
  4. 07 3月, 2006 1 次提交
    • M
      [TG3]: Add DMA address workaround · 72f2afb8
      Michael Chan 提交于
      Add DMA workaround for chips that do not support full 64-bit DMA
      addresses.
      
      5714, 5715, and 5780 chips only support DMA addresses less than 40
      bits. On 64-bit systems with IOMMU, set the dma_mask to 40-bit so
      that pci_map_xxx() calls will map the DMA address below 40 bits if
      necessary. On 64-bit systems without IOMMU, set the dma_mask to
      64-bit and check for DMA addresses exceeding the limit in
      tg3_start_xmit().
      
      5788 only supports 32-bit DMA so need to set the mask appropriately
      also.
      
      Thanks to Chris Elmquist at SGI for reporting and helping to debug
      the problem on 5714.
      
      Thanks to David Miller for explaining the HIGHMEM and DMA stuff.
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      72f2afb8
  5. 04 3月, 2006 1 次提交
  6. 28 2月, 2006 1 次提交
  7. 03 2月, 2006 2 次提交
  8. 17 1月, 2006 1 次提交
    • M
      [TG3]: Refine nvram locking · ec41c7df
      Michael Chan 提交于
      Add nvram lock count so that calls to tg3_nvram_lock()/unlock() can
      be nested. Add error checking to all callers of tg3_nvram_lock()
      where appropriate. To prevent nvram lock failures after halting the
      firmware, it is also necessary to release firmware's nvram lock in
      tg3_halt_cpu().
      
      Update version to 3.48.
      
      Based on David Miller's initial patch.
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ec41c7df
  9. 04 1月, 2006 2 次提交
  10. 29 12月, 2005 2 次提交
  11. 20 12月, 2005 4 次提交
  12. 14 12月, 2005 4 次提交
  13. 07 12月, 2005 1 次提交
  14. 30 10月, 2005 1 次提交
  15. 29 10月, 2005 4 次提交
  16. 04 10月, 2005 2 次提交
  17. 28 9月, 2005 3 次提交
    • D
      c8a6c296
    • M
      [TG3]: misc. fixes · f9804ddb
      Michael Chan 提交于
      Fix interrupt test handler by adding check for IRQ assertion in
      PCI_STATE register in addition to the status block updated bit.
      
      Add test for valid ethernet address in tg3_set_mac_addr().
      
      Add tg3_bus_string() to setup the PCI bus speed/width string for all
      PCI/PCIX/PCI Express devices. This is used to print the bus type
      during init_one().
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f9804ddb
    • M
      [TG3]: 5780 PHY fixes · c94e3941
      Michael Chan 提交于
      Fix 5780 PHY related problems:
      
      1. MAC_RX_MODE reset must be done before setting up the MAC_MODE
         register on 5705_PLUS chips or the chip will stop receiving after
         a while. The MAC_RX_MODE reset is needed to prevent intermittently
         losing the first receive packet on serdes chips.
      
      2. Skip MAC loopback test on 5780 because of hardware errata. Normal
         traffic including PHY loopback is not affected by the errata.
      
      3. PHY loopback fails intermittently on 5708S and this is fixed by
         putting the PHY in loopback mode first before programming the MAC
         mode register. A MAC_RX_MODE reset is also added.
      
      4. Return -EINVAL in tg3_nway_reset() if device is in TBI mode. Allow
         nway_reset if 5780S is in parallel detect mode.
      
      5. Add missing PHY IDs in KNOWN_PHY_ID() macro.
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c94e3941
  18. 17 9月, 2005 3 次提交
  19. 13 9月, 2005 1 次提交