/* LOCKING: host lock, or some other form of serialization.  */
void ata_port_disable(struct ata_port *ap)
/* LOCKING: host lock, or some other form of serialization.  */
void ata_port_disable(struct ata_port *ap)
{
	ap->link.device[0].class = ATA_DEV_NONE;
	ap->link.device[1].class = ATA_DEV_NONE;
	ap->flags |= ATA_FLAG_DISABLED;
}