]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: add ide_dev_is_sata() helper (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 11 Sep 2007 20:28:36 +0000 (22:28 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 11 Sep 2007 20:28:36 +0000 (22:28 +0200)
commit6c3c22f3cb2b7cd0a42a024b93db76b5c3133d37
tree13cd84e47c9d354930443ef7db2df1985446ffc4
parent7293136810936bbde403bcb67ac1b4dbae4dd790
ide: add ide_dev_is_sata() helper (take 2)

Make the SATA drive detection code from eighty_ninty_three() into inline
ide_dev_is_sata() helper fixing it along the way to be more strict while
checking word 80 for the reserved values...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c
include/linux/ide.h