31 Mar, 2011
1 commit
-
Fixes generated by 'codespell' and manually reviewed.
Signed-off-by: Lucas De Marchi
18 Jan, 2011
1 commit
-
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 2As 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 1tx_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
Acked-by: Eric Dumazet
Signed-off-by: Andres Salomon
Signed-off-by: Linus Torvalds
02 Nov, 2010
5 commits
-
Unused, unneeded, and bogus.
Signed-off-by: Stephen Hemminger
-
Use standard network statistics variables and routines.
Transmit counters are per queue, and skb mapping is already in
skb and does not need to be recomputed. Move SearchVcId to only
place it is used.Signed-off-by: Stephen Hemminger
-
Since classification and queue control are separate, allow
classification even if device is down now; this avoids races
on startup/shutdown.Signed-off-by: Stephen Hemminger
-
Use namespace tool from kernel scripts to identify dead code and
functions that should be static.Signed-off-by: Stephen Hemminger
-
Add more debug messages and make them similar to other drivers
Signed-off-by: Stephen Hemminger
01 Nov, 2010
3 commits
-
Remove commented out with '#if 0'
Signed-off-by: Stephen Hemminger
-
Current kernels have multi-queue support which can be used by
this device. This has the advantage that a single type of traffic
will not block other types.Signed-off-by: Stephen Hemminger
-
Use native kernel functions for kmalloc/kfree directly
Signed-off-by: Stephen Hemminger
30 Oct, 2010
1 commit
-
The only part of this structure still used was the network
device stats, and in recent kernel these are available in
network device itself.Signed-off-by: Stephen Hemminger
08 Oct, 2010
1 commit
-
"status" is used as an index into the Adapter->PackInfo[] array, which
has NO_OF_QUEUES elements.This code actually works OK. The SearchSfid() function always returns
a valid index or it returns NO_OF_QUEUES + 1. But it looks sloppy and
it makes the static checkers complain.Signed-off-by: Dan Carpenter
Signed-off-by: Greg Kroah-Hartman
05 Oct, 2010
1 commit
-
This marks up the code where sparse complains in most cases.
Most of the changes are in the ioctl handling code, which
gets __user annotations, finding one unchecked user access.The rest is mostly about marking functions static when they
are only used in one file.Signed-off-by: Arnd Bergmann
Signed-off-by: Greg Kroah-Hartman
09 Sep, 2010
1 commit
-
The Sprint 4G network uses a Wimax dongle with Beecem
chipset. The driver is typical of out of tree drivers, but
maybe useful for people, and the hardware is readily available.Here is a staging ready version (i.e warts and all)
0. Started with Rel_5.2.7.3P1_USB from Sprint4GDeveloperPack-1.1
1. Consolidated files in staging
2. Remove Dos cr/lf
3. Remove unnecessary ioctl from usbbcm_fopsApplied patches that were in the developer pack, surprising
there were ones for 2.6.35 already.This is compile tested only, see TODO for what still needs
to be done.Signed-off-by: Stephen Hemminger
Signed-off-by: Greg Kroah-Hartman