]> err.no Git - linux-2.6/commit
ide_in_drive_list(): accept NULL as the wildcard for firmware revision
authorJunio C Hamano <junkio@cox.net>
Mon, 9 Jul 2007 21:17:56 +0000 (23:17 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 9 Jul 2007 21:17:56 +0000 (23:17 +0200)
commitc2d3ce8c39cb17dfc8d0426a98bd79f5d7b21e36
treec1dd749c39abfb70a81a5a5f34b6275021c5aeaf
parent6d78013bfc20b8579827fc8f214c6f85d469c051
ide_in_drive_list(): accept NULL as the wildcard for firmware revision

Earlier, the matching of (model,rev) in ide-dma black/white list
handling was to consider "ALL" in the table to match any
revision.  This makes NULL to be also an accepted wildcard, and
changes the entries of tables in ide-dma.c to use NULL.

The code still accepts "ALL" as the wildcard, in order to keep
any out-of-tree ide driver that feeds its own table that uses
"ALL" as the wildcard to ide_in_drive_list() function from
breaking.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c