libata: glob_match for ata_device_blacklist (v2)
authorMark Lord <kernel@teksavvy.com>
Thu, 1 Jul 2010 22:16:14 +0000 (18:16 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Sun, 1 Aug 2010 23:36:03 +0000 (19:36 -0400)
commitbce036cea10a8dd21eb8c9bf1b641d8790429c8e
tree2e0d87245467b30fced2d65e7cfe9352ee930f2c
parentda10a2002cf25a11f18fa1b5e327b9ed717f819c
libata: glob_match for ata_device_blacklist (v2)

Replace rudimentry pattern matching with more capable shell-style globbing.
This will enable shrinking ata_device_blacklist[] table in subsequent patches,
and helps with future editions to the table, such as matching only the end
of a firmware revision string etc..

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c