1
linux/drivers/staging/bcm
Andres Salomon e6f597a142 staging: fix build failure in bcm driver
While building latest Linus git, I hit the following:

    CC [M]  drivers/staging/bcm/Qos.o
  drivers/staging/bcm/Qos.c: In function ‘PruneQueue’:
  drivers/staging/bcm/Qos.c:367: error: ‘struct netdev_queue’ has no member named ‘tx_dropped’
  drivers/staging/bcm/Qos.c: In function ‘flush_all_queues’:
  drivers/staging/bcm/Qos.c:416: error: ‘struct netdev_queue’ has no member named ‘tx_dropped’
  make[5]: *** [drivers/staging/bcm/Qos.o] Error 1
  make[4]: *** [drivers/staging/bcm] Error 2
  make[3]: *** [drivers/staging] Error 2

As well as:

    CC [M]  drivers/staging/bcm/Transmit.o
  drivers/staging/bcm/Transmit.c: In function ‘SetupNextSend’:
  drivers/staging/bcm/Transmit.c:163: error: ‘struct netdev_queue’ has no member named ‘tx_bytes’
  drivers/staging/bcm/Transmit.c:164: error: ‘struct netdev_queue’ has no member named ‘tx_packets’
  make[2]: *** [drivers/staging/bcm/Transmit.o] Error 1

tx_dropped/tx_bytes_tx_packets were removed in commit 1ac9ad13.  This patch
converts bcm to use net_device_stats instead of netdev_queue.

Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-17 17:39:39 -08:00
..
Adapter.h Staging: beceem: Use 32-bit integers for hardware register values 2010-11-10 16:28:30 -08:00
Bcmchar.c Staging: Merge 2.6.37-rc2 into staging-next 2010-11-16 10:44:50 -08:00
Bcmnet.c beceem: change startup messages 2010-11-01 14:06:24 -04:00
CmHost.c Staging: bcm: signedness bug in StoreSFParam() 2010-11-16 12:31:50 -08:00
CmHost.h beceem: make local functions static 2010-11-01 12:37:05 -04:00
cntrl_SignalingInterface.h beceem: eliminate dead code 2010-10-29 20:44:57 -07:00
DDRInit.c Staging: beceem: Use 32-bit integers for hardware register values 2010-11-10 16:28:30 -08:00
DDRInit.h
Debug.h beceem: use kernel print_hex_dump function 2010-11-01 09:30:59 -04:00
HandleControlPacket.c beceem: dump control packet information 2010-11-01 14:10:41 -04:00
headers.h Staging: Beceem: remove old kernel compatibility code 2010-12-06 16:09:45 -08:00
hostmibs.c beceem: statistics and transmit queue changes 2010-11-01 13:53:30 -04:00
HostMIBSInterface.h
InterfaceAdapter.h
InterfaceDld.c Staging, bcm: Remove unnecessary casts of void ptr returning alloc function return values 2010-11-10 16:28:31 -08:00
InterfaceIdleMode.c beceem: make local functions static 2010-11-01 12:37:05 -04:00
InterfaceIdleMode.h beceem: make local functions static 2010-11-01 12:37:05 -04:00
InterfaceInit.c Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-01-10 16:04:53 -08:00
InterfaceInit.h Staging: Beceem: add USB id for BCSM250 Mobile WiMAX 2010-12-06 16:09:43 -08:00
InterfaceIsr.c drivers/staging: Remove unnecessary semicolons 2010-11-16 12:06:47 -08:00
InterfaceIsr.h
InterfaceMacros.h
InterfaceMisc.c Staging: bcm: signedness bug in StoreSFParam() 2010-11-16 12:31:50 -08:00
InterfaceMisc.h beceem: remove indirection to Adapter structure 2010-11-01 09:52:14 -04:00
InterfaceRx.c beceem: statistics and transmit queue changes 2010-11-01 13:53:30 -04:00
InterfaceRx.h
InterfaceTx.c Staging: Beceem: remove old kernel compatibility code 2010-12-06 16:09:45 -08:00
InterfaceTx.h beceem: remove dead code 2010-11-01 09:50:16 -04:00
Ioctl.h staging/bcm: add sparse annotations 2010-10-05 08:50:15 -07:00
IPv6Protocol.c beceem: make local functions static 2010-11-01 12:37:05 -04:00
IPv6ProtocolHdr.h beceem: make local functions static 2010-11-01 12:37:05 -04:00
Kconfig
LeakyBucket.c beceem: eliminate unused bcm_jiffies 2010-11-01 13:57:35 -04:00
led_control.c beceem: statistics and transmit queue changes 2010-11-01 13:53:30 -04:00
led_control.h
Macros.h beceem: off by one on queue index 2010-11-01 12:37:48 -04:00
Makefile beceem: remove ARP spoofing 2010-11-01 09:53:58 -04:00
Misc.c Staging: Beceem: remove old kernel compatibility code 2010-12-06 16:09:45 -08:00
nvm.c beceem: change startup messages 2010-11-01 14:06:24 -04:00
nvm.h beceem: eliminate dead code 2010-10-29 20:44:57 -07:00
PHSDefines.h
PHSModule.c beceem: make local functions static 2010-11-01 12:37:05 -04:00
PHSModule.h beceem: make local functions static 2010-11-01 12:37:05 -04:00
Protocol.h beceem: fix definition of VLAN header type 2010-11-01 13:54:21 -04:00
Prototypes.h beceem: change startup messages 2010-11-01 14:06:24 -04:00
Qos.c staging: fix build failure in bcm driver 2011-01-17 17:39:39 -08:00
Queue.h
sort.c
target_params.h
TODO beceem: update TODO list 2010-11-01 14:18:16 -04:00
Transmit.c staging: fix build failure in bcm driver 2011-01-17 17:39:39 -08:00
Typedefs.h
vendorspecificextn.c
vendorspecificextn.h
Version.h