07 Jan, 2009
3 commits
-
This should make the driver use request_firmware() instead of a static
firmware.
Some obvious things are missing:
1) The unneeded header files are not removed yet. This is to keep the
patch size small.
2) The .bin files are missing so the driver doesn't have what to load.
3) Testing. None of this was tested. It does compiles OK though :)Signed-off-by: Lior Dotan
Signed-off-by: Greg Kroah-Hartman -
Fix sizeof to use the right type
Signed-off-by: Lior Dotan
Cc: Jiri Slaby
Signed-off-by: Greg Kroah-Hartman -
This patch uses kzalloc() where really applicable.
Signed-off-by: Lior Dotan
Cc: Jiri Slaby
Signed-off-by: Greg Kroah-Hartman
07 Dec, 2008
1 commit
-
Simply replace netdev->priv with netdev_priv().
Signed-off-by: Wang Chen
Acked-by: Greg Kroah-Hartman
Signed-off-by: David S. Miller
23 Oct, 2008
4 commits
-
The multicast address list is allocated in slic_mcast_add_list() but
never freed.Signed-off-by: Lior Dotan
-
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION.
drivers/staging/slicoss/slicoss.cThis patch removes the said #include .
Signed-off-by: Huang Weiyi
Signed-off-by: Greg Kroah-Hartman -
Removed duplicated #include's in drivers/staging/slicoss/slicoss.c.
linux/delay.h
linux/etherdevice.h
linux/init.h
linux/netdevice.h
linux/pci.h
linux/skbuff.h
linux/slab.h
linux/string.hSigned-off-by: Huang Weiyi
Signed-off-by: Greg Kroah-Hartman -
This hides under DEBUG_REGISTER_TRACE so probably
not visible to many people.Signed-off-by: Mariusz Kozlowski
Signed-off-by: Greg Kroah-Hartman
11 Oct, 2008
5 commits
-
slic_entry_probe() calls pci_request_regions() but there's no matching
pci_release_regions() at driver's exit or if slic_entry_probe() fails.Signed-off-by: Lior Dotan
Signed-off-by: Greg Kroah-Hartman -
Fix the remaining variables that still had '_t' as a postfix and also
a couple of checkpatch warnings.Signed-off-by: Lior Dotan
Signed-off-by: Greg Kroah-Hartman -
Fix a few warning messages that crept in due to conversion of all the
functions to staticSigned-off-by: Lior Dotan
Signed-off-by: Greg Kroah-Hartman -
Major cleanups of checkpatch warnings from the slicoss driver.
From: Lior Dotan
Signed-off-by: Greg Kroah-Hartman -
This adds the Alacritech slicoss driver to the tree.
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 fiberThe driver was acutally tested on Oasis and Kalahari cards.
TODO:
- move firmware loading to request_firmware()
- remove direct memory access of structures
- any remaining sparse and checkpatch.pl warnings
- any netdev recommended changesMany thanks to Lior Dotan for help with the cleanup
of this driver.Cc: Lior Dotan
Cc: Christopher Harrer
Signed-off-by: Greg Kroah-Hartman