]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
[PATCH] ide: housekeeping on IDE drivers
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Wed, 28 Jun 2006 11:27:02 +0000 (04:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:07 +0000 (14:59 -0700)
commitf201f5046ddaeeccb036bdf6848549bf5cb51bb1
tree5944310bd67382bbbc6a3998e0d152a194834404
parentda574af755bcb1d604e01feadf2a8c31b364447c
[PATCH] ide: housekeeping on IDE drivers

Move auto arrays to static (const).  Clean up using PCI_DEVICE in places,
remove unreachable junk and dead code.

Fix the serverworks cable detect logic (if ordering is wrong).  Backport
from libata.  Plenty of scope for more cleanup left.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/pci/aec62xx.c
drivers/ide/pci/cmd64x.c
drivers/ide/pci/serverworks.c
drivers/ide/pci/sl82c105.c
drivers/ide/pci/slc90e66.c