pata_cs5536: Add support for non-X86_32 platforms
authorWu Zhangjin <wuzhangjin@gmail.com>
Fri, 24 Dec 2010 13:39:08 +0000 (21:39 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 24 Dec 2010 18:33:23 +0000 (13:33 -0500)
commit9272dcc232b84ccb027d6861077934055d42764d
tree5409dd6200065ae89675a6b56faff18066930b2c
parent687a993339c4f3a63654746230da3aab8bbdbffd
pata_cs5536: Add support for non-X86_32 platforms

pata_cs5536 does work on the other platforms(e.g. Loongson, a MIPS
variant), so, remove the dependency of X86_32 and fix the building
errors under the other platforms via only reserving the X86_32 specific
parts for X86_32.

pata_amd also supports cs5536 IDE controller, but this one saves about
33k for the compressed kernel image(vmlinuz for MIPS).

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Chen Jie <chenj@lemote.com>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/Kconfig
drivers/ata/pata_cs5536.c