1. 11 10月, 2014 2 次提交
    • V
      stmmac: correct mc_filter local variable in set_filter and set_mac_addr call · 3dab99e0
      Vince Bridgers 提交于
      Testing revealed that the local variable mc_filter was dimensioned
      incorrectly for all possible configurations and get_mac_addr should
      have been set_mac_addr (a typo). Make sure mc_filter is dimensioned
      to 8 32-bit unsigned longs - the largest size of the Synopsys
      multicast filter register set.
      Signed-off-by: NVince Bridgers <vbridger@opensource.altera.com>
      Acked-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3dab99e0
    • G
      net: pxa168_eth: PXA168_ETH should depend on HAS_DMA · 3b3d136c
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
      drivers/built-in.o: In function `rxq_deinit':
      pxa168_eth.c:(.text+0x2a2f2e): undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `txq_reclaim':
      pxa168_eth.c:(.text+0x2a3044): undefined reference to `dma_unmap_single'
      drivers/built-in.o: In function `txq_deinit':
      pxa168_eth.c:(.text+0x2a310a): undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `txq_init':
      pxa168_eth.c:(.text+0x2a3226): undefined reference to `dma_alloc_coherent'
      drivers/built-in.o: In function `rxq_init':
      pxa168_eth.c:(.text+0x2a32d4): undefined reference to `dma_alloc_coherent'
      drivers/built-in.o: In function `init_hash_table':
      pxa168_eth.c:(.text+0x2a3354): undefined reference to `dma_alloc_coherent'
      drivers/built-in.o: In function `rxq_refill':
      pxa168_eth.c:(.text+0x2a345a): undefined reference to `dma_map_single'
      drivers/built-in.o: In function `rxq_process':
      pxa168_eth.c:(.text+0x2a39cc): undefined reference to `dma_unmap_single'
      drivers/built-in.o: In function `pxa168_eth_remove':
      pxa168_eth.c:(.text+0x2a3b84): undefined reference to `dma_free_coherent'
      drivers/built-in.o: In function `pxa168_eth_start_xmit':
      pxa168_eth.c:(.text+0x2a3e8a): undefined reference to `dma_map_single'
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      3b3d136c
  2. 10 10月, 2014 5 次提交
  3. 09 10月, 2014 15 次提交
  4. 08 10月, 2014 3 次提交
  5. 07 10月, 2014 1 次提交
    • I
      bna: allow transmit tagged frames · 6654cf60
      Ivan Vecera 提交于
      When Tx VLAN offloading is disabled frames with size ~ MTU are not
      transmitted as the driver does not account 4 bytes of VLAN header added
      by stack. It should use VLAN_ETH_HLEN instead of ETH_HLEN.
      
      The second problem is with newer BNA chips (BNA 1860). These chips filter
      out any VLAN tagged frames in Tx path. This is a problem when Tx VLAN
      offloading is disabled and frames are tagged by stack. Older chips like
      1010/1020 are not affected as they probably don't do such filtering.
      
      Cc: Rasesh Mody <rasesh.mody@qlogic.com>
      Signed-off-by: NIvan Vecera <ivecera@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6654cf60
  6. 06 10月, 2014 14 次提交