.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ATA_STD_BIOS_PARAM" "9" "09 October 2005" "" ""
.SH NAME
ata_std_bios_param \- generic bios head/sector/cylinder calculator used by sd.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ata_std_bios_param (struct scsi_device * \fIsdev\fB, struct block_device * \fIbdev\fB, sector_t \fIcapacity\fB, int \fIgeom[]\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsdev\fB\fR
SCSI device for which BIOS geometry is to be determined
.TP
\fB\fIbdev\fB\fR
block device associated with \fIsdev\fR
.TP
\fB\fIcapacity\fB\fR
capacity of SCSI device
.TP
\fB\fIgeom[]\fB\fR
location to which geometry will be output
.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.
.SH "LOCKING"
.PP
Defined by the SCSI layer. We don't really care.
.SH "RETURNS"
.PP
Zero.