1. 30 12月, 2008 1 次提交
    • K
      net: Fix more NAPI interface netdev argument drop fallout. · 2d0658d4
      Kamalesh Babulal 提交于
      I hit similar build failure due to the change in the netif_rx_reschedule()
      
      drivers/net/ehea/ehea_main.c: In function 'ehea_poll':
      drivers/net/ehea/ehea_main.c:844: warning: passing argument 1 of 'netif_rx_reschedule' from incompatible pointer type
      drivers/net/ehea/ehea_main.c:844: error: too many arguments to function 'netif_rx_reschedule'
      make[3]: *** [drivers/net/ehea/ehea_main.o] Error 1
      
      greping through the sources for the changes missed out, we have
      
      ./drivers/net/arm/ixp4xx_eth.c:507:							netif_rx_reschedule(dev, napi)) {
      ./drivers/net/arm/ep93xx_eth.c:310:             if (more && netif_rx_reschedule(dev, napi))
      ./drivers/net/wan/ixp4xx_hss.c:657:							netif_rx_reschedule(dev, napi)) {
      Signed-off-by: NKamalesh Babulal <kamalesh@linux.vnet.ibm.com>
      Acked-by: NNeil Horman <nhorman@tuxdriver.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d0658d4
  2. 23 12月, 2008 1 次提交
  3. 22 12月, 2008 7 次提交
  4. 04 11月, 2008 1 次提交
  5. 14 8月, 2008 1 次提交
    • M
      ixp4xx_eth: fix dma_mapping_error() compile errors · 7144decb
      Mikael Pettersson 提交于
      The arm ixp4xx_eth driver doesn't compile in 2.6.27-rc1:
      
        CC [M]  drivers/net/arm/ixp4xx_eth.o
      drivers/net/arm/ixp4xx_eth.c: In function 'eth_poll':
      drivers/net/arm/ixp4xx_eth.c:554: warning: passing argument 1 of 'dma_mapping_error' makes pointer from integer without a cast
      drivers/net/arm/ixp4xx_eth.c:554: error: too few arguments to function 'dma_mapping_error'
      drivers/net/arm/ixp4xx_eth.c: In function 'eth_xmit':
      drivers/net/arm/ixp4xx_eth.c:701: warning: passing argument 1 of 'dma_mapping_error' makes pointer from integer without a cast
      drivers/net/arm/ixp4xx_eth.c:701: error: too few arguments to function 'dma_mapping_error'
      drivers/net/arm/ixp4xx_eth.c: In function 'init_queues':
      drivers/net/arm/ixp4xx_eth.c:886: warning: passing argument 1 of 'dma_mapping_error' makes pointer from integer without a cast
      drivers/net/arm/ixp4xx_eth.c:886: error: too few arguments to function 'dma_mapping_error'
      make[3]: *** [drivers/net/arm/ixp4xx_eth.o] Error 1
      make[2]: *** [drivers/net/arm] Error 2
      make[1]: *** [drivers/net] Error 2
      make: *** [drivers] Error 2
      
      dma_mapping_error() changed in 2.6.27-rc1 to also take a device parameter,
      but nobody bothered updating ixp4xx_eth.c. Fixed by passing the appropriate
      device value in the dma_mapping_error() calls.
      
      Tested on an ixp425 box.
      Signed-off-by: NMikael Pettersson <mikpe@it.uu.se>
      Acked-by: NKrzysztof Halasa <khc@pm.waw.pl>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      7144decb
  6. 07 8月, 2008 1 次提交
  7. 11 7月, 2008 1 次提交
  8. 29 4月, 2008 1 次提交