commit | 00b6f5e9e04b2186a71a5892640bb2d8e09a030e | [log] [tgz] |
---|---|---|
author | Albert Lee <albertcc@tw.ibm.com> | Mon Mar 27 16:39:18 2006 +0800 |
committer | Jeff Garzik <jeff@garzik.org> | Wed Mar 29 19:30:28 2006 -0500 |
tree | f486ef99a0a7e5db563176eda559a8a332297df1 | |
parent | 17efc5f7237995295cbe008828788d187fea3c88 [diff] |
[PATCH] libata: ata_dev_init_params() fixes ata_dev_init_params() fixes: - Get the "heads" and "sectors" parameters from caller instead of implicitly from dev->id[]. - Return AC_ERR_INVALID instead of 0 if an invalid parameter is found Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>