Name

ich_pata_cable_detect — Probe host controller cable detect info

Synopsis

int ich_pata_cable_detect (struct ata_port * ap);
 

Arguments

struct ata_port * ap

Port for which cable detect info is desired

Description

Read 80c cable indicator from ATA PCI device's PCI config register. This register is normally set by firmware (BIOS).

LOCKING: None (inherited from caller).