Re: [PATCH] staging: fix build failure in bcm driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Jan 2011 17:24:39 -0800
Andres Salomon <dilinger@xxxxxxxxxx> 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@xxxxxxxxxx>
> 

Don't think this is necessary.
What kernel version? and kernel config?
I suspect the problem is a missing dependency on multiqueue support.
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux