History log of /drivers/staging/bcm/Bcmnet.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00b6fb2e31ac668795857c9609adc11e7964ed5a 09-Mar-2011 Vinay Sawal <vinaysawal@gmail.com> Staging: bcm: Bcmnet: fixed checkpatch script reported issues

Fixed all issues reported by checkpatch script on this file.

Signed-off-by: Vinay Sawal <vinaysawal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/bcm/Bcmnet.c
4ea4f7a0d3d7a9961bf77f0860df8dd4a213b8a3 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: change startup messages

Change the regsister/unregister routines to generate better
messages, and control arrival of new frames when USB device is
unplugged.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
cacd92222dd4e04424fa532cf1a222e67c30709b 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: statistics and transmit queue changes

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 <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
1da9badcf02dd6532df9bde8fc05648e74982f2c 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: allow multicast/broadcast

Even though wimax isn't really a broadcast medium, pretend it is.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
9ec4475bf10bb2c30cd5e927bc453aa307f58123 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: debug message format changes

Add more debug messages and make them similar to other drivers

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
2d08748ae53bf07fe6fcaf4f3d40449b471ce351 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: module initialization

Get rid of boot messages and put in correct place.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
4fd64dd0c1b9317ffe6fdaf3de788e14df880d8d 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: add network device message level control

Provide standard interface to control verbosity of debug messages

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
46c3790eb523931a803bb3c28c5bf8bbfc8acf48 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: convert to kernel coding style

Change indentation etc, to conform to acceptable kernel style

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
5afb5145a13ac26f3c7ab273140a83958bc038f0 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: remove useless debug function entry messages

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
937110581650eaa517f045fb7b86b9828ba693ad 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: support multiple queues

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 <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
26a0e39ac8ed1f38b31baeb901bc76501466d34e 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: fold unregister_netdevice into AdapterFree

The function unregister_netdevice only called unregister_netdev.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
7441698fe9eb0eb473cf1699d9cd8dd06dfeaf77 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: remove ARP spoofing

Linux support NOARP flag, so the whole Arp spoofing routines
are not needed.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
e614e28eac1afcdc3d1275f3e1478aa3e5acc500 01-Nov-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: remove indirection to Adapter structure

Allocate Adapter structure as part of network device.

Signed-off-by: Stephen Hemminber <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
2515ab628f227b0711393993fe3228e167cc988f 30-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: Add proper carrier and link management

Start with carrier off.
Don't track up/down status in driver private flag.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
d7affd0f58c9f68441b4ce631d07fad2e6a448db 30-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: reduce transmit queue len

Reduce transmit queue length to avoid excess buffering

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
d21d6dde0280f0897ce6de1948bfaa5633867b28 30-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: add ethtool support

This adds basic ethtool support to get driver info and settings

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
0ad008fcbc39572ab7078975cdf7e902fbc39ce6 30-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: cleanup network device setup

Change how network device is setup:
* set pointer to device object so sysfs has eth0/device symlink
* set network device type
* eliminate all the compatiablity with older kernels.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
92bc60580e55d18494a23ba8ae642a464ebfd7a6 29-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: get rid of OS dependent data structure

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 <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
d52db0b4b34410019e1546e3ccbe761b9e4ddd76 29-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: eliminate network registered state variable

Just use presence of pointer

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
3705a843bd98b3ccb7c4b6addfc182fe805a73ed 29-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: remove bogus network device notifier

Network device should not be messing with refcounts directly.
See Documentation/networking/netdevices.txt

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
91d29ee1a82fedcd7d1bbf24007b31a49c47e90a 29-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: remove ifdef's

There were a lot of ifdef's for driver options which have no
configuration options. Choose the current value and remove the
ifdef.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
2e44f765dfd3a8592c2d6b6005be061eccdee137 29-Oct-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> beceem: add module information

Add description and version information to the driver.
Make USB device table exported as alias so device will be
autoloaded. Get rid of useless noise message on boot.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
/drivers/staging/bcm/Bcmnet.c
eebfc6055aba312f8b620a58fe1c23471cdcd149 28-Oct-2010 Greg Kroah-Hartman <gregkh@suse.de> Staging: bcm: fix up network device reference counting

The way network devices are reference counted does not include poking
around in the reference count itself. This breaks when the reference
count is changed to be a different type. Fix the driver to do the
proper function calls instead.

Cc: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/bcm/Bcmnet.c
44a17eff844d92421c8b568c84df29735e1e45f9 30-Sep-2010 Arnd Bergmann <arnd@arndb.de> staging/bcm: add sparse annotations

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 <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/bcm/Bcmnet.c
9f1c75ac2dba752ad3734bd3ffab805a6a3fbeda 30-Sep-2010 Arnd Bergmann <arnd@arndb.de> staging/bcm: fix most build warnings

This removes all warnings I get on a 64 bit build except
for those that look unfixable, where we convert a pointer
to a 32 bit integer and change its byte order!

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/bcm/Bcmnet.c
f8942e07a3db9d82e8fb11d3d494876b8bae9ff9 08-Sep-2010 Stephen Hemminger <stephen.hemminger@vyatta.com> staging: Beeceem USB Wimax driver

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_fops

Applied 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 <shemminger@vyatta.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/drivers/staging/bcm/Bcmnet.c