ata_std_bios_param — generic bios head/sector/cylinder calculator used by sd.
int ata_std_bios_param ( | struct scsi_device * sdev, |
| struct block_device * bdev, | |
| sector_t capacity, | |
int geom[]); |
struct scsi_device * sdevSCSI device for which BIOS geometry is to be determined
struct block_device * bdev
block device associated with sdev
sector_t capacitycapacity of SCSI device
int geom[]location to which geometry will be output