1ATA_STD_BIOS_PARAM(9)   libata SCSI translation/emulat   ATA_STD_BIOS_PARAM(9)
2
3
4

NAME

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

SYNOPSIS

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

ARGUMENTS

15       sdev
16           SCSI device for which BIOS geometry is to be determined
17
18       bdev
19           block device associated with sdev
20
21       capacity
22           capacity of SCSI device
23
24       geom[]
25           location to which geometry will be output
26

DESCRIPTION

28       Generic bios head/sector/cylinder calculator used by sd. Most BIOSes
29       nowadays expect a XXX/255/16 (CHS) mapping. Some situations may arise
30       where the disk is not bootable if this is not used.
31

LOCKING

33       Defined by the SCSI layer. We donĀ“t really care.
34

RETURNS

36       Zero.
37

AUTHOR

39       Jeff Garzik
40           Author.
41
43Kernel Hackers Manual 2.6.         June 2019             ATA_STD_BIOS_PARAM(9)
Impressum