ata_std_bios_param - generic bios head/sector/cylinder calculator used by sd.
2. SYNOPSIS ▲
int ata_std_bios_param(struct scsi_device * sdev , struct block_device * bdev , sector_t capacity , int geom );
3. ARGUMENTS ▲
SCSI device for which BIOS geometry is to be determined
block device associated with sdev
capacity of SCSI device
location to which geometry will be output
4. DESCRIPTION ▲
Generic bios head/sector/cylinder calculator used by sd. Most BIOSes nowadays expect a XXX/255/16 (CHS) mapping. Some situations may arise where the disk is not bootable if this is not used.
5. LOCKING ▲
Defined by the SCSI layer. We donAqt really care.
6. RETURNS ▲
7. AUTHOR ▲
8. COPYRIGHT ▲