Searched refs:set_max (Results 1 – 1 of 1) sorted by relevance
1165 unsigned long set_max = in init_idedisk_capacity() local1211 if (set_max > capacity && capacity > IDE_STROKE_LIMIT) { in init_idedisk_capacity()1213 set_max = idedisk_read_native_max_address(drive); in init_idedisk_capacity()1214 set_max = idedisk_set_max_address(drive, set_max); in init_idedisk_capacity()1215 if (set_max) { in init_idedisk_capacity()1216 drive->capacity = capacity = set_max; in init_idedisk_capacity()1217 drive->cyl = set_max / (drive->head * drive->sect); in init_idedisk_capacity()1223 drive->name, set_max, capacity); in init_idedisk_capacity()