ATA_STD_BIOS_PARAM(9) | libata SCSI translation/emulat | ATA_STD_BIOS_PARAM(9) |
NAME¶
ata_std_bios_param - generic bios head/sector/cylinder calculator used by sd.
SYNOPSIS¶
int ata_std_bios_param(struct scsi_device * sdev, struct block_device * bdev, sector_t capacity, int geom);
ARGUMENTS¶
struct scsi_device * sdev
struct block_device * bdev
sector_t capacity
int geom
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.
LOCKING: Defined by the SCSI layer. We don't really care.
RETURN¶
Zero.
AUTHOR¶
Jeff Garzik
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |