Scroll to navigation

ATA_BUS_PROBE(9) libata Core Internals ATA_BUS_PROBE(9)

NAME

ata_bus_probe - Reset and probe ATA bus

SYNOPSIS

int ata_bus_probe(struct ata_port * ap);

ARGUMENTS

struct ata_port * ap
Bus to probe

DESCRIPTION

Master ATA bus probing function. Initiates a hardware-dependent bus reset, then attempts to identify any devices found on the bus.

LOCKING: PCI/etc. bus probe sem.

RETURN

Zero on success, negative errno otherwise.

AUTHOR

Jeff Garzik
Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11