oxnas: sata_oxnas: refactoring phase 1
authorFelix Fietkau <nbd@openwrt.org>
Mon, 22 Dec 2014 20:46:49 +0000 (20:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 22 Dec 2014 20:46:49 +0000 (20:46 +0000)
commitfeda47451f4d526c68ded54ae9dfab802422270a
tree60730caa4af6ed8174d53474b102969afd270e33
parent3113bf4cb88449a68d6ab6760cb133663ea54aa4
oxnas: sata_oxnas: refactoring phase 1

locking for 2nd port and hwraid was added from vendor's GPL code which
doesn't comply with current kernel coding style.

 - moved all global variables into host_priv
 - renamed locks
 - sanetized acquire() and release() parameter list

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43766
target/linux/oxnas/files/drivers/ata/sata_oxnas.c
target/linux/oxnas/patches-3.14/999-libata-hacks.patch
target/linux/oxnas/patches-3.18/999-libata-hacks.patch