Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 29300
b: refs/heads/master
c: dc2b351
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed May 15, 2006
1 parent a018ccb commit 41f860b
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: 9ec957f2002bd2994be659bbc0ec28397fa251ee
refs/heads/master: dc2b3515868a254b3d653d77844bff93c5d4c095
6 changes: 6 additions & 0 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2528,11 +2528,17 @@ int sata_std_hardreset(struct ata_port *ap, unsigned int *class)
*/
void ata_std_postreset(struct ata_port *ap, unsigned int *classes)
{
u32 serror;

DPRINTK("ENTER\n");

/* print link status */
sata_print_link_status(ap);

/* clear SError */
if (sata_scr_read(ap, SCR_ERROR, &serror) == 0)
sata_scr_write(ap, SCR_ERROR, serror);

/* re-enable interrupts */
if (ap->ioaddr.ctl_addr) /* FIXME: hack. create a hook instead */
ata_irq_on(ap);
Expand Down

0 comments on commit 41f860b

Please sign in to comment.