diff options
author | Tejun Heo <htejun@gmail.com> | 2007-02-26 12:24:03 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-02 02:19:45 +0100 |
commit | e34bb370dec4919b7e8b769d51ad2bc2535b6982 (patch) | |
tree | 3fa5c0a00bfdb56a0bdf5974c0b3b61bf2ffa82c /drivers/ata/pata_sc1200.c | |
parent | jmicron ATA: reimplement jmicron ATA quirk (diff) | |
download | linux-e34bb370dec4919b7e8b769d51ad2bc2535b6982.tar.xz linux-e34bb370dec4919b7e8b769d51ad2bc2535b6982.zip |
ahci/pata_jmicron: match class not function number
Make jmiron_ata quirk update pdev->class after programming the device
and update ahci and pata_jmicron such that they match class code
instead of checking function number manually. For ahci, it matches
for vendor and class. For pata_jmicron, it matches vendor, device and
class as IDE class isn't as well defined as AHCI class.
This makes jmicron device matching more conventional and script
friendly.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_sc1200.c')
0 files changed, 0 insertions, 0 deletions