1. NAME▲

ata_dev_init_params - Issue INIT DEV PARAMS command

2. SYNOPSIS ▲

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

3. ARGUMENTS ▲

dev
    Device to which command will be sent

heads
    Number of heads (taskfile parameter)

sectors
    Number of sectors (taskfile parameter)

4. LOCKING ▲

Kernel thread context (may sleep)

5. RETURNS ▲

0 on success, AC_ERR_* mask otherwise.

6. AUTHOR ▲

Jeff Garzik
    Author.

7. COPYRIGHT ▲