Name

ata_dev_init_params — Issue INIT DEV PARAMS command

Synopsis

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

Arguments

ap

Port associated with device dev

dev

Device to which command will be sent

heads

-- undescribed --

sectors

-- undescribed --

LOCKING

Kernel thread context (may sleep)

RETURNS

0 on success, AC_ERR_* mask otherwise.