[PATCH] staging: fix build failure in bcm driver

Andres Salomon dilinger at queued.net
Sat Jan 15 01:50:04 UTC 2011


On Fri, 14 Jan 2011 17:37:13 -0800
Stephen Hemminger <shemminger at vyatta.com> wrote:

> On Fri, 14 Jan 2011 17:24:39 -0800
> Andres Salomon <dilinger at queued.net> wrote:
> 
> > While building, 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.
> > 
> > Signed-off-by: Andres Salomon <dilinger at queued.net>
> > 
> 
> Don't think this is necessary.
> What kernel version? and kernel config?
> I suspect the problem is a missing dependency on multiqueue support.


Current linus git (38567333).  Kernel config is attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 126845 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20110114/a08bda91/attachment.obj>


More information about the devel mailing list