]> git.karo-electronics.de Git - karo-tx-linux.git/commit
jmicron: make ide jmicron driver play nice with libata ones
authorTejun Heo <htejun@gmail.com>
Wed, 28 Mar 2007 16:31:53 +0000 (12:31 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Apr 2007 10:43:16 +0000 (03:43 -0700)
commit979c3d5113c97bdf7f94a24de86b83d8c79e18c6
tree7f0464c9f258303dc8512bcbd6b71b963c3b7fcd
parent1d9f5f2cf993fad1cdb64ada83d469fe4df40865
jmicron: make ide jmicron driver play nice with libata ones

jmicron: make ide jmicron driver play nice with libata ones

When libata is configured, the device is configured such that SATA and
PATA ports live in separate functions with different programming
interfaces.  pata_jmicron and ide jmicron drivers can drive only the
PATA part.

This patch makes jmicron match PCI class code such that it doesn't
attach itself to the SATA part preventing the proper ahci driver from
attaching.

This change is suggested by Bartlomiej.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: justin@jmicron.com
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/pci/jmicron.c