[PATCH] libata: move dev->max_sectors configuration into ata_dev_configure()
authorTejun Heo <htejun@gmail.com>
Wed, 1 Nov 2006 09:39:55 +0000 (18:39 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:41:31 +0000 (22:41 -0500)
commit914ed354b373680b648d913161cca6f742f32791
tree64d33d5813680fc564374aa0e085fe7541006325
parentbaa1e78a834c917984a4659fd282f712c17ee3bf
[PATCH] libata: move dev->max_sectors configuration into ata_dev_configure()

Move dev->max_sectors configuration from ata_scsi_dev_config() to
ata_dev_configure().

* more consistent.
* allows LLDs to peek at the default dev->max_sectors value.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
drivers/ata/libata-scsi.c