ATA_BUS_RESET

Section: (9)
Updated: 13 April 2004
Index Return to Main Contents

 

NAME

ata_bus_reset - reset host port and associated ATA channel  

SYNOPSIS

void ata_bus_reset (struct ata_port * ap);  

ARGUMENTS

ap
port to reset
 

DESCRIPTION

This is typically the first time we actually start issuing commands to the ATA channel. We wait for BSY to clear, then issue EXECUTE DEVICE DIAGNOSTIC command, polling for its result. Determine what devices, if any, are on the channel by looking at the device 0/1 error register. Look at the signature stored in each device's taskfile registers, to determine if the device is ATA or ATAPI.  

LOCKING

Inherited from caller. Some functions called by this function obtain the host_set lock.  

SIDE EFFECTS

Sets ATA_FLAG_PORT_DISABLED if bus reset fails.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.1.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING
SIDE EFFECTS
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 11:21:53 GMT, April 13, 2004