linux/drivers/staging/et131x
Mark Einon c8b0a484cc staging: et131x: Fix endian bugs in et131x_get_regs()
et131x_get_regs() calls et131x_mii_read(), passing the address of a u32
which is cast to a (u16 *). This works fine for little endian systems,
but not for big endian. Change so that the types are cast, not pointers
to the types.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-22 08:58:44 -08:00
..
et131x.c staging: et131x: Fix endian bugs in et131x_get_regs() 2013-01-22 08:58:44 -08:00
et131x.h staging: et131x: Use register defines instead of magic numbers 2013-01-07 14:03:32 -08:00
Kconfig
Makefile
README staging: et131x: Replace kmem_cache use with plain kmalloc/kfree 2012-11-21 13:57:28 -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:
	- some rx packets have CRC/code/frame errors

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