summaryrefslogtreecommitdiffstats
path: root/drivers/staging/slicoss
Commit message (Collapse)AuthorAgeFilesLines
* Staging: slicoss: remove slic_os.hGreg Kroah-Hartman2009-04-032-47/+0
| | | | | | | It's no longer needed, and empty, so remove it. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: remove WRITE_REG wrapperGreg Kroah-Hartman2009-04-033-107/+96
| | | | | | | It's not needed, so just call the function instead of using a define. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: remove WRITE_REG64 wrapperGreg Kroah-Hartman2009-04-033-87/+51
| | | | | | | It's not needed, so just call the function instead of using a define. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: remove DEBUG_REGISTER_TRACEGreg Kroah-Hartman2009-04-032-42/+0
| | | | | | | It's not ever defined, so remove it from the code base. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: remove jiffies macrosGreg Kroah-Hartman2009-04-032-15/+9
| | | | | | | Use the ones built into the kernel, don't reinvent the wheel. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: remove TRUE/FALSE usageGreg Kroah-Hartman2009-04-034-38/+21
| | | | | | | Don't use TRUE and FALSE, we have proper boolean types in the kernel. Cc: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: use gfp_kernel where possibleLior Dotan2009-04-031-4/+4
| | | | | | | | Use GFP_KERNEL instead of GFP_ATOMIC where possible. Signed_off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: free resources on entry_probe error pathLior Dotan2009-04-031-8/+9
| | | | | | | | Call pci_disable_device() and free_netdev() if slic_entry_probe fails. Signed_off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: add binary firmware to firmware directoryLior Dotan2009-04-031-4/+4
| | | | | | | | | | | | | | | Adds the firmware to the firmware directory in ihex format so it can be installed when doing make firmware_install. Also update the firmware location in the driver code so it can locate the files in the right place. This should conclude the move to request_firmware(). Signed-off-by: Lior Dotan <liodot@gmail.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: remove the static firmware header filesLior Dotan2009-04-035-22356/+0
| | | | | | | | Remove the static headers with the firmware code, they are no longer needed. Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: use request_firmwareLior Dotan2009-04-032-132/+58
| | | | | | | | This patch uses request_firmware() to download the firmware to the card. Signed-off-by: Lior Dotan <liodot@gmail.com> Cc: Christopher Harrer <charrer@alacritech.com>
* Staging: slicoss: use request_firmwareLior Dotan2009-01-062-24/+87
| | | | | | | | | | | | | | 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 <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: use correct type for memory allcationsLior Dotan2009-01-061-3/+3
| | | | | | | | | Fix sizeof to use the right type Signed-off-by: Lior Dotan <liodot@gmail.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: slicoss: use kzallocLior Dotan2009-01-061-2/+1
| | | | | | | | | This patch uses kzalloc() where really applicable. Signed-off-by: Lior Dotan <liodot@gmail.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging-slicoss: Kill directly reference of netdev->privWang Chen2008-12-061-4/+3
| | | | | | | | Simply replace netdev->priv with netdev_priv(). Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
* Staging: SLICOSS: Free multicast list at driver exitLior Dotan2008-10-221-0/+8
| | | | | | | | | The multicast address list is allocated in slic_mcast_add_list() but never freed. Signed-off-by: Lior Dotan <liodot@gmail.com>
* Staging: SLICOSS: remove unused #include <version.h>Huang Weiyi2008-10-221-1/+0
| | | | | | | | | | | The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/staging/slicoss/slicoss.c This patch removes the said #include <version.h>. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: remove duplicated #include'sHuang Weiyi2008-10-221-8/+0
| | | | | | | | | | | | | | | | 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.h Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: fix potential build error in slicoss driverMariusz Kozlowski2008-10-221-1/+0
| | | | | | | | | This hides under DEBUG_REGISTER_TRACE so probably not visible to many people. Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: Call pci_release_regions at driver exitLior Dotan2008-10-101-0/+2
| | | | | | | | | | 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 <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: Fix remaining type namesLior Dotan2008-10-104-21/+23
| | | | | | | | | Fix the remaining variables that still had '_t' as a postfix and also a couple of checkpatch warnings. Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: Fix warnings due to static usageLior Dotan2008-10-102-7/+2
| | | | | | | | | | Fix a few warning messages that crept in due to conversion of all the functions to static Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: SLICOSS: lots of checkpatch fixesLior Dotan2008-10-1013-1619/+1353
| | | | | | | | | Major cleanups of checkpatch warnings from the slicoss driver. From: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add Alacritech slicoss network driverGreg Kroah-Hartman2008-10-1016-0/+30779
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 fiber The 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 changes Many thanks to Lior Dotan <liodot@gmail.com> for help with the cleanup of this driver. Cc: Lior Dotan <liodot@gmail.com> Cc: Christopher Harrer <charrer@alacritech.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud