other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
ATA_DEV_INIT_PARAMS(9) | libata Core Internals | ATA_DEV_INIT_PARAMS(9) |
NAME¶
ata_dev_init_params - Issue INIT DEV PARAMS commandSYNOPSIS¶
unsigned int
ata_dev_init_params(struct ata_device * dev,
u16 heads, u16 sectors);
ARGUMENTS¶
devDevice to which command will be sent
heads
Number of heads (taskfile parameter)
sectors
Number of sectors (taskfile parameter)
DESCRIPTION¶
LOCKING: Kernel thread context (may sleep)RETURN¶
0 on success, AC_ERR_* mask otherwise.AUTHOR¶
Jeff GarzikAuthor.
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |