forked from Minki/linux
324148788b
Drop cast on the result of kmalloc and similar functions. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ type T; @@ - (T *) (\(kmalloc\|kzalloc\|kcalloc\|kmem_cache_alloc\|kmem_cache_zalloc\| kmem_cache_alloc_node\|kmalloc_node\|kzalloc_node\)(...)) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
et131x_adapter.h | ||
et131x_defs.h | ||
et131x_initpci.c | ||
et131x_isr.c | ||
et131x_netdev.c | ||
et131x_version.h | ||
et131x.h | ||
et1310_address_map.h | ||
et1310_eeprom.c | ||
et1310_mac.c | ||
et1310_phy.c | ||
et1310_phy.h | ||
et1310_pm.c | ||
et1310_rx.c | ||
et1310_rx.h | ||
et1310_tx.c | ||
et1310_tx.h | ||
Kconfig | ||
Makefile | ||
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.