Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23486
b: refs/heads/master
c: 0b8efb0
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 24, 2006
1 parent b7423f5 commit 921b239
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f7dd3e9d62b25c7b79f913f37c2242a61295de4
refs/heads/master: 0b8efb0a16a1915c507db5a9b9fb5ede082a68a2
9 changes: 9 additions & 0 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,15 @@ static const char *ata_mode_string(unsigned int xfer_mask)
return "<n/a>";
}

static void ata_dev_disable(struct ata_port *ap, struct ata_device *dev)
{
if (ata_dev_present(dev)) {
printk(KERN_WARNING "ata%u: dev %u disabled\n",
ap->id, dev->devno);
dev->class++;
}
}

/**
* ata_pio_devchk - PATA device presence detection
* @ap: ATA channel to examine
Expand Down

0 comments on commit 921b239

Please sign in to comment.