]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
ide: add ->max_sectors field to struct ide_port_info
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 29 Dec 2008 19:27:34 +0000 (20:27 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 29 Dec 2008 19:27:34 +0000 (20:27 +0100)
commit6b4924962c49655494d2c8e9d3faab0e349a3062
tree5236d3ef808f8c781b40b7a6328f65fe3f25891b
parent7f1ac8c4b9dadc55ec656b368f5f470f2cbe3083
ide: add ->max_sectors field to struct ide_port_info

* Add ->max_sectors field to struct ide_port_info to allow host drivers
  to specify value used for hwif->rqsize (if smaller than the default).

* Convert pdc202xx_old to use ->max_sectors and remove no longer needed
  IDE_HFLAG_RQSIZE_256 flag.

There should be no functional changes caused by this patch.

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