From: Tejun Heo Date: Mon, 26 Feb 2007 11:24:03 +0000 (+0900) Subject: ahci/pata_jmicron: match class not function number X-Git-Tag: v2.6.21-rc3~146^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e34bb370dec4919b7e8b769d51ad2bc2535b6982;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed