• Tejun Heo's avatar
    jmicron: make ide jmicron driver play nice with libata ones · ebbc2031
    Tejun Heo authored
    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
    This change is suggested by Bartlomiej.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Cc: Jeff Garzik <jeff@garzik.org>
    Cc: justin@jmicron.com
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
jmicron.c 6.93 KB