2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 02:04:05 +08:00
linux-next/drivers/staging/et131x
Mark Einon e0134715aa staging: et131x: Revert changes from previous commit
In commit 834d0ee317 (uintxy_t removal) not all changes were trival text replacements, some converted u64 -> dma_addr_t.
In some configurations dma_addr_t is a u32, meaning that some bit operations cause build warnings. From Randy Dunlap:

----------------
on i386 (X86_32) builds:

drivers/staging/et131x/et131x.c:2483:8: warning: right shift count >= width of type
drivers/staging/et131x/et131x.c:2531:8: warning: right shift count >= width of type
----------------

Removed these by reverting dma_addr_t back to u64 types, as well as
reverting some other non-trivial changes from the aforementioned commit.

Reported-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-08 15:03:11 -08:00
..
et131x.c staging: et131x: Revert changes from previous commit 2011-12-08 15:03:11 -08:00
et131x.h staging: et131x: Moving two extern inline functions to .c file 2011-10-23 10:07:10 +02:00
Kconfig staging: fix more ET131X build errors 2011-11-18 15:00:54 -08:00
Makefile staging: et131x: Put all .c files into one big file 2011-10-23 10:03:40 +02:00
README staging: et131x: on transmit, stop the queue if the next packet will fail 2011-10-23 10:07:12 +02: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:
	- Use of kmem_cache seems a bit unusual

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