ide-disk: set_addressing() fixes
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:36 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:36 +0000 (21:39 +0200)
commit35c137531245118962eb40a550661afe317bec03
tree5fa3030baf4fad7a451d3ba991d57b5641a3a094
parent1ea1031cf92b8b8bfbe796d8e8d38b68300475d2
ide-disk: set_addressing() fixes

* Return -EIO if arg > 0 and LBA48 is unsupported.

* No need to reset ->addressing.

* Make ->addressing a single bit flag.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c
include/linux/ide.h