linux/drivers/staging/et131x
Alan a9f488831c staging: et131x: fix allocation failures
We should check the ring allocations don't fail.
If we get a fail we need to clean up properly. The allocator assumes the
deallocator will be used on failure, but it isn't. Make sure the
right deallocator is always called and add a missing check against
fbr allocation failure.

[v2]: Correct check logic

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-02-18 12:15:19 -08:00
..
et131x.c staging: et131x: fix allocation failures 2014-02-18 12:15:19 -08:00
et131x.h staging: et131x: clear up use of TRUEPHY defines 2013-12-06 12:55:48 -08:00
Kconfig
Makefile
Module.symvers staging: et131x: Remove unused rcv_pend_lock spinlock 2013-09-17 07:47:43 -07:00
README staging: et131x: remove item that have been done in TODO file 2013-12-10 23:12:13 -08:00

This is a driver for the ET1310 network device.

Based on the driver found at https://sourceforge.net/projects/et131x/

Cleaned up immensely by Olaf Hartman and Christoph Hellwig <hch@infradead.org>

Note, the powermanagement options were removed from the vendor provided
driver as they did not build properly at the time.

TODO:
	- Look at reducing the number of spinlocks
	- Simplify code in nic_rx_pkts(), when determining multicast_pkts_rcvd
	- Implement NAPI support
	- In et131x_tx(), don't return NETDEV_TX_BUSY, just drop the packet with kfree_skb().
	- Reduce the number of split lines by careful consideration of variable names etc.

Please send patches to:
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
	Mark Einon <mark.einon@gmail.com>