1ATA_DEV_INIT_PARAMS(9)       libata Core Internals      ATA_DEV_INIT_PARAMS(9)
2
3
4

NAME

6       ata_dev_init_params - Issue INIT DEV PARAMS command
7

SYNOPSIS

9       unsigned int ata_dev_init_params(struct ata_device * dev, u16 heads,
10                                        u16 sectors);
11

ARGUMENTS

13       dev
14           Device to which command will be sent
15
16       heads
17           Number of heads (taskfile parameter)
18
19       sectors
20           Number of sectors (taskfile parameter)
21

LOCKING

23       Kernel thread context (may sleep)
24

RETURNS

26       0 on success, AC_ERR_* mask otherwise.
27

AUTHOR

29       Jeff Garzik
30           Author.
31
33Kernel Hackers Manual 2.6.       November 2011          ATA_DEV_INIT_PARAMS(9)
Impressum