'\" t .\" Title: ata_std_bios_param .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: libata SCSI translation/emulation .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ATA_STD_BIOS_PARAM" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "libata SCSI translation/emulat" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ata_std_bios_param \- generic bios head/sector/cylinder calculator used by sd\&. .SH "SYNOPSIS" .HP \w'int\ ata_std_bios_param('u .BI "int ata_std_bios_param(struct\ scsi_device\ *\ " "sdev" ", struct\ block_device\ *\ " "bdev" ", sector_t\ " "capacity" ", int\ " "geom[]" ");" .SH "ARGUMENTS" .PP \fIsdev\fR .RS 4 SCSI device for which BIOS geometry is to be determined .RE .PP \fIbdev\fR .RS 4 block device associated with \fIsdev\fR .RE .PP \fIcapacity\fR .RS 4 capacity of SCSI device .RE .PP \fIgeom[]\fR .RS 4 location to which geometry will be output .RE .SH "DESCRIPTION" .PP 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\&. .PP LOCKING: Defined by the SCSI layer\&. We don\*(Aqt really care\&. .SH "RETURN" .PP Zero\&. .SH "AUTHOR" .PP \fBJeff Garzik\fR .RS 4 Author. .RE .SH "COPYRIGHT" .br