Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29458
b: refs/heads/master
c: b6079ca
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jeff Garzik committed May 24, 2006
1 parent 82ba96c commit 6aaff3e
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 1f3461a72619fcd70a0fcb563306c91f753b4620
refs/heads/master: b6079ca409bf88c248992e96510dd6f610f7ed89
6 changes: 6 additions & 0 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,12 @@ static int ata_bus_probe(struct ata_port *ap)
if (classes[i] == ATA_DEV_UNKNOWN)
classes[i] = ATA_DEV_NONE;

/* after the reset the device state is PIO 0 and the controller
state is undefined. Record the mode */

for (i = 0; i < ATA_MAX_DEVICES; i++)
ap->device[i].pio_mode = XFER_PIO_0;

/* read IDENTIFY page and configure devices */
for (i = 0; i < ATA_MAX_DEVICES; i++) {
dev = &ap->device[i];
Expand Down

0 comments on commit 6aaff3e

Please sign in to comment.