linux/drivers/staging/slicoss
Aya Mahfouz 7d2b3cf7cf staging: slicloss: replace init_timer by setup_timer
This patch replaces init_timer and the 2 step initialization of function
and data by setup_timer to make the code more concise.

The issue was discovered using the following coccinelle script:

@@
expression ds, e1, e2;
@@

-init_timer (&ds);
+setup_timer (&ds, e1, e2);
...
(
-ds.function = e1;
...
-ds.data = e2;
|
-ds.data = e2;
...
-ds.function = e1;
)

Signed-off-by: Aya Mahfouz <mahfouz.saif.elyazal@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-02-26 13:12:40 -08:00
..
Kconfig
Makefile
README staging: slicoss: Add MAINTAINERS entry, break README into TODO & README 2014-02-11 12:37:27 -08:00
TODO staging: slicoss: remove gratuitous debug infrastructure 2014-05-23 20:08:33 +09:00
slic.h staging: slicoss: remove private netdev list 2014-05-25 10:59:53 -07:00
slichw.h staging: slicoss: Fix space-related checkpatch.pl warnings 2013-01-17 13:53:06 -08:00
slicoss.c staging: slicloss: replace init_timer by setup_timer 2015-02-26 13:12:40 -08:00

README

This driver is supposed to support:

	Mojave cards (single port PCI Gigabit) both copper and fiber
	Oasis cards (single and dual port PCI-x Gigabit) copper and fiber
	Kalahari cards (dual and quad port PCI-e Gigabit) copper and fiber

The driver was actually tested on Oasis and Kalahari cards.