Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ide-eh.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/ide.h>
#include <linux/delay.h>

Go to the source code of this file.


ide_startstop_t ide_error (ide_drive_t *drive, const char *msg, u8 stat)
 EXPORT_SYMBOL_GPL (ide_error)
ide_startstop_t ide_do_reset (ide_drive_t *drive)
 EXPORT_SYMBOL (ide_do_reset)

Function Documentation

EXPORT_SYMBOL ( ide_do_reset  )
EXPORT_SYMBOL_GPL ( ide_error  )
ide_startstop_t ide_do_reset ( ide_drive_t drive)

Definition at line 438 of file ide-eh.c.

ide_startstop_t ide_error ( ide_drive_t drive,
const char msg,
u8  stat 

ide_error - handle an error on the IDE : drive the error occurred on : message to report : status bits

ide_error() takes action based on the error returned by the drive. For normal I/O that may well include retries. We deal with both new-style (taskfile) and old style command handling here. In the case of taskfile command handling there is work left to do

Definition at line 114 of file ide-eh.c.