IDE_WRITE_SETTING

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

ide_write_setting - read an IDE setting  

SYNOPSIS

"SYNOPSIS"

int ide_write_setting (ide_drive_t * drive, ide_settings_t * setting, int val);  

ARGUMENTS

drive
drive to read from
setting
drive setting
val
value
 

DESCRIPTION

Write a drive setting if it is possible. The caller must hold the ide_setting_sem when making this call.  

BUGS

the data return and error are the same return value so an error -EINVAL and true return of the same value cannot be told apart  

FIXME

This should be changed to enqueue a special request to the driver to change settings, and then wait on a sema for completion. The current scheme of polling is kludgy, though safe enough.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
BUGS
FIXME

This document was created by man2html, using the manual pages.
Time: 04:40:49 GMT, October 06, 2005