1
0
Fork 0
alistair23-linux/drivers/staging/et131x
Alan Cox d31a2ff03f Staging: et131x: Fix 2.6.33rc1 regression in et131x
et131x: Fix 12bit wrapping

From: Alan Cox <alan@linux.intel.com>

The 12bit wrap logic conversion is wrong and this shows up for some
memory sizes and layouts of card. Patch it up for now, once the kernel
view of status is cleaned up it'll become two variables and a lot saner.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-01-20 15:05:26 -08:00
..
Kconfig Staging: add et131x network driver 2008-10-10 15:31:07 -07:00
Makefile Staging: et131x: prune all the debug code 2009-09-15 12:02:29 -07:00
README Staging: add et131x network driver 2008-10-10 15:31:07 -07:00
et131x_adapter.h Staging: et131x: kill TxMacTest field 2009-12-11 12:23:20 -08:00
et131x_config.h Staging: add et131x network driver 2008-10-10 15:31:07 -07:00
et131x_defs.h Staging: et131x: kill NMI hacks 2009-12-11 12:23:06 -08:00
et131x_initpci.c Staging: et131x: Clean up MAC_CFG types 2009-12-11 12:23:08 -08:00
et131x_initpci.h Staging: et131x: tidy up initpci code 2009-12-11 12:23:06 -08:00
et131x_isr.c Staging: et131x: Another typedef solely used to write 0 to a register 2009-12-11 12:23:21 -08:00
et131x_isr.h Staging: et1310: Fix the coding style 2009-09-15 12:01:26 -07:00
et131x_netdev.c Staging: et131x: Clean up tx naming 2009-12-11 12:23:07 -08:00
et131x_netdev.h Staging: et1310: Fix the coding style 2009-09-15 12:01:26 -07:00
et131x_version.h Staging: et1310: Fix the coding style 2009-09-15 12:01:26 -07:00
et1310_address_map.h Staging: et131x: Fix 2.6.33rc1 regression in et131x 2010-01-20 15:05:26 -08:00
et1310_eeprom.c Staging: et131x: extract the eeprom setup logic from initpci 2009-12-11 12:23:05 -08:00
et1310_eeprom.h Staging: et131x: extract the eeprom setup logic from initpci 2009-12-11 12:23:05 -08:00
et1310_jagcore.h Staging: et131x: continue pruning unused fields 2009-09-15 12:02:28 -07:00
et1310_mac.c Staging: et131x: kill TXTEST and TXFILL, clean up CF_PARAM 2009-12-11 12:23:20 -08:00
et1310_mac.h Staging: et1310: Fix the coding style 2009-09-15 12:01:26 -07:00
et1310_phy.c Staging: et131x: Clean up the phy code, especially dup stuff 2009-12-11 12:23:08 -08:00
et1310_phy.h Staging: et131x: Clean up the phy code, especially dup stuff 2009-12-11 12:23:08 -08:00
et1310_pm.c Staging: et131x: prune all the debug code 2009-09-15 12:02:29 -07:00
et1310_pm.h Staging: et131x: remove unused PCI identifiers 2009-09-15 12:02:28 -07:00
et1310_rx.c Staging: et131x: Fix 2.6.33rc1 regression in et131x 2010-01-20 15:05:26 -08:00
et1310_rx.h Staging: et131x: clean up the avail fields in the rx registers 2009-12-11 12:23:21 -08:00
et1310_tx.c Staging: et131x: kill TX_PR_NUM_DES_t 2009-12-11 12:23:21 -08:00
et1310_tx.h Staging: et131x: tx ring mac error is only used as a local 2009-12-11 12:23:07 -08:00

README

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 <o.hartmann@telovital.com> 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:
	- kernel coding style cleanups
	- forward port for latest network driver changes
	- kill useless typecasts (e.g. in et1310_phy.c)
	- alloc_etherdev is initializing memory with zero?!?
	- add_timer call in et131x_netdev.c is correct?
	- Add power saving functionality (suspend, sleep, resume)
	- Implement a few more kernel Parameter (set mac )

Please send patches to:
	Greg Kroah-Hartman <gregkh@suse.de>

And Cc: Olaf Hartmann <o.hartmann@telovital.com> as he has this device and can
test any changes.