ATA_STD_BIOS_PARAM

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ata_std_bios_param - generic bios head/sector/cylinder calculator used by sd.  

SYNOPSIS

"SYNOPSIS"

int ata_std_bios_param (struct scsi_device * sdev, struct block_device * bdev, sector_t capacity, int geom[]);  

ARGUMENTS

sdev
SCSI device for which BIOS geometry is to be determined
bdev
block device associated with sdev
capacity
capacity of SCSI device
geom[]
location to which geometry will be output
 

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.  

RETURNS

Zero.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING
RETURNS

This document was created by man2html, using the manual pages.
Time: 00:01:57 GMT, October 09, 2005