History log of /drivers/staging/phison/phison.c
Revision Date Author Comments
dcbc2fc62cb60a76161fb08737ea7165e05da111 27-Nov-2011 Peter Huewe <peterhuewe@gmx.de> staging/phison: Convert pci_table entries to PCI_DEVICE (if PCI_ANY_ID is used)

This patch converts pci_table entries to use the PCI_DEVICE macro,
if .subvendor and .subdevice are set to PCI_ANY_ID,
and thus improves readablity.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
abb9eb75a34cbd34ee4e9160ac349eff91b926d8 09-Dec-2010 Namhyung Kim <namhyung@gmail.com> Staging: phison: use DEFINE_PCI_DEVICE_TABLE

Convert 'const struct pci_device_id xxx[]' to 'DEFINE_PCI_DEVICE_TABLE(xxx)'.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
cf10700bf8047f0668dd874b607f89516612e6c7 09-Oct-2010 Greg Kroah-Hartman <gregkh@suse.de> Staging: phison: fix problem caused by libata change

The libata core changed this function so it needed to call a different
one.

See https://bugzilla.kernel.org/show_bug.cgi?id=19872 for details.

Reported-by: Heinz Wiesinger <HMWiesinger@gmx.at>
Tested-by: Heinz Wiesinger <HMWiesinger@gmx.at>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
33f84a8f2110afbb819c8336cb73d517fc0b2891 16-Mar-2010 Jonas Lundqvist <jonas@gannon.se> Staging: phison: fix incorrect tabs in phison.c

This patch fixes two incorrect tab warnings found by the checkpatch.pl
tool

Signed-off-by: Jonas Lundqvist <jonas@gannon.se>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13ac58dac0c6b1edeb060102049b07ebceea9a40 10-Jan-2010 Németh Márton <nm127@freemail.hu> staging: make PCI device id constant

The id_table field of the struct pci_driver is constant in <linux/pci.h>
so it is worth to make the initialization data also constant.

The semantic match that finds this kind of pattern is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@r@
disable decl_init,const_decl_init;
identifier I1, I2, x;
@@
struct I1 {
...
const struct I2 *x;
...
};
@s@
identifier r.I1, y;
identifier r.x, E;
@@
struct I1 y = {
.x = E,
};
@c@
identifier r.I2;
identifier s.E;
@@
const struct I2 E[] = ... ;
@depends on !c@
identifier r.I2;
identifier s.E;
@@
+ const
struct I2 E[] = ...;
// </smpl>

Signed-off-by: Németh Márton <nm127@freemail.hu>
Cc: Julia Lawall <julia@diku.dk>
Cc: cocci@diku.dk
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16ea0fc98d53c72cb4e1a9edcb685a87e3a81430 23-Feb-2010 Alan Cox <alan@linux.intel.com> libata: Pass host flags into the pci helper

This allows parallel scan and the like to be set without having to stop
using the existing full helper functions. This patch merely adds the argument
and fixes up the callers. It doesn't undo the special cases already in the
tree or add any new parallel callers.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
73d3f6652a153a33648a2213c03e292809cc9ddb 29-Sep-2009 Peter Huewe <peterhuewe@gmx.de> Staging: phison: adding __init/__exit macros

Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of drivers/staging/phison/phison.c

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
76d86df9c4947fd49f320834b6d618c234ce0ed7 12-Feb-2009 Greg Kroah-Hartman <gregkh@suse.de> Staging: phison: port code to work properly with latest libata

This brings the driver up to modern times so that it can build and run
properly with the in-tree libata code.

Cc: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
33210206b69db88925a318b053ab7aa9693c097f 12-Feb-2009 Greg Kroah-Hartman <gregkh@suse.de> Staging: phison: fix up checkpatch and other formatting issues

Minor touchups to fix up the coding style issues in the phison driver.

Cc: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
cfc2f947f849d75dfb1bff780dfee023c2e5a390 09-Feb-2009 Evan Ko <evan_ko@phison.com> Staging: add phison ATA driver to the tree

It doesn't build properly yet as it is against an older kernel version.
That will be fixed up in patches following this.

From: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>