Update for beceem driver in staging

Stephen Hemminger shemminger at vyatta.com
Mon Nov 1 18:45:44 UTC 2010


This is the collection of patches from my testing of Sprint U250.
The driver is still ugly and unstable but it did bring connection up
and transfer data. My recommendation is for the whole driver to be
rewritten!

I no longer have the hardware and do not expect to do anymore
work on this driver. It looks like Beceem has been acquired by
Broadcom and they may pick it up.

The patches are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/beceem.git 

Stephen Hemminger (53):
      beceem: add module information
      beceem: remove ifdef's
      beceem: remove version ifdef's
      beceem: eliminate unused USB stubs
      beceem: cleanup debug level infrastructure
      beceem: remove bogus network device notifier
      beceem: eliminate network registered state variable
      beceem: eliminate dead code
      beceem: get rid of OS dependent data structure
      beceem: cleanup network device setup
      beceem: use kernel print_hex_dump function
      beceem: remove OS wrapper library
      beceem: name threads with device name
      beceem: make transmit thread interruptible
      beceem: add ethtool support
      beceem: remove dead code
      beceem: reduce transmit queue len
      beceem: Add proper carrier and link management
      beceem: remove indirection to Adapter structure
      beceem: print better message on bad ioctl
      beceem: remove ARP spoofing
      beceem: fold unregister_netdevice into AdapterFree
      beceem: get rid of unnecessary inline usage
      beceem: support multiple queues
      beceem: remove dead code
      beceem: reserve one queue for bit-bucket
      beceem: fix printf format strings
      beceem: fix character device ioctl
      beceem: remove unnecessary usb class
      beceem: remove problematic debug print messages
      beceem: remove useless debug function entry messages
      beceem: convert to kernel coding style
      beceem: create class on module installation
      beceem: clean up adapter structure
      beceem: change format of debug message
      beceem: add network device message level control
      beceem: module initialization
      beceem: use get_seconds for elapsed time
      beceem: debug message format changes
      beceem: allow multicast/broadcast
      beceem: transmit code cleanup
      beceem: remove unused code to dump header
      beceem: make local functions static
      beceem: off by one on queue index
      beceem: do classification even if device is offline
      beceem: statistics and transmit queue changes
      beceem: fix definition of VLAN header type
      beceem: eliminate unused bcm_jiffies
      beceem: don't overrun user buffer on read
      beceem: change startup messages
      beceem: dump control packet information
      beceem: update TODO list
      Merge branch 'master' of ../mine

 drivers/staging/bcm/Adapter.h                  |  130 +---
 drivers/staging/bcm/Arp.c                      |   94 ---
 drivers/staging/bcm/Bcmchar.c                  |  967 ++++++++----------------
 drivers/staging/bcm/Bcmnet.c                   |  404 +++++------
 drivers/staging/bcm/CmHost.c                   |  129 +---
 drivers/staging/bcm/CmHost.h                   |    3 -
 drivers/staging/bcm/DDRInit.c                  |   13 -
 drivers/staging/bcm/Debug.c                    |   41 -
 drivers/staging/bcm/Debug.h                    |   88 +--
 drivers/staging/bcm/HandleControlPacket.c      |   39 +-
 drivers/staging/bcm/HostMibs.h                 |    7 -
 drivers/staging/bcm/IPv6Protocol.c             |   10 +-
 drivers/staging/bcm/IPv6ProtocolHdr.h          |    3 -
 drivers/staging/bcm/InterfaceDld.c             |  122 +---
 drivers/staging/bcm/InterfaceIdleMode.c        |   20 +-
 drivers/staging/bcm/InterfaceIdleMode.h        |    2 -
 drivers/staging/bcm/InterfaceInit.c            |  314 +++------
 drivers/staging/bcm/InterfaceInit.h            |   26 -
 drivers/staging/bcm/InterfaceIsr.c             |   42 +-
 drivers/staging/bcm/InterfaceMisc.c            |   27 +-
 drivers/staging/bcm/InterfaceMisc.h            |    3 -
 drivers/staging/bcm/InterfaceRx.c              |   40 +-
 drivers/staging/bcm/InterfaceTx.c              |   63 +--
 drivers/staging/bcm/InterfaceTx.h              |    6 -
 drivers/staging/bcm/Interfacemain.h            |   10 -
 drivers/staging/bcm/LeakyBucket.c              |   72 +--
 drivers/staging/bcm/Macros.h                   |   40 +-
 drivers/staging/bcm/Makefile                   |    4 +-
 drivers/staging/bcm/Misc.c                     |  513 +++-----------
 drivers/staging/bcm/Osal_Misc.c                |   27 -
 drivers/staging/bcm/PHSModule.c                |  234 +++----
 drivers/staging/bcm/PHSModule.h                |   45 --
 drivers/staging/bcm/Protocol.h                 |    6 +-
 drivers/staging/bcm/Prototypes.h               |  122 +---
 drivers/staging/bcm/Qos.c                      |  106 +--
 drivers/staging/bcm/TODO                       |   25 +-
 drivers/staging/bcm/Transmit.c                 |  393 ++---------
 drivers/staging/bcm/cntrl_SignalingInterface.h |  254 -------
 drivers/staging/bcm/headers.h                  |   38 +-
 drivers/staging/bcm/hostmibs.c                 |   35 +-
 drivers/staging/bcm/led_control.c              |  135 +----
 drivers/staging/bcm/nvm.c                      |  642 +++-------------
 drivers/staging/bcm/nvm.h                      |   80 --
 drivers/staging/bcm/osal_misc.h                |   49 --
 44 files changed, 1216 insertions(+), 4207 deletions(-)
 delete mode 100644 drivers/staging/bcm/Arp.c
 delete mode 100644 drivers/staging/bcm/Debug.c
 delete mode 100644 drivers/staging/bcm/HostMibs.h
 delete mode 100644 drivers/staging/bcm/Interfacemain.h
 delete mode 100644 drivers/staging/bcm/Osal_Misc.c
 delete mode 100644 drivers/staging/bcm/osal_misc.h




More information about the devel mailing list