Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117701
b: refs/heads/master
c: 7583221
h: refs/heads/master
i:
  117699: 46ec249
v: v3
  • Loading branch information
thomas schorpp authored and James Bottomley committed Oct 23, 2008
1 parent dcba4c0 commit 9636c7c
Show file tree
Hide file tree
Showing 2 changed files with 8 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: d91ab4e7df0c0c9f98c830e04e875f39d41b21f6
refs/heads/master: 7583221f6066978487f14caf31b4ea5d99713bfa
7 changes: 7 additions & 0 deletions trunk/drivers/scsi/aic7xxx/aic7xxx_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,7 @@ ahc_intr(struct ahc_softc *ahc)
static void
ahc_restart(struct ahc_softc *ahc)
{
uint8_t sblkctl;

ahc_pause(ahc);

Expand Down Expand Up @@ -868,6 +869,12 @@ ahc_restart(struct ahc_softc *ahc)
ahc_outb(ahc, SEQADDR0, 0);
ahc_outb(ahc, SEQADDR1, 0);

/*
* Take the LED out of diagnostic mode on PM resume, too
*/
sblkctl = ahc_inb(ahc, SBLKCTL);
ahc_outb(ahc, SBLKCTL, (sblkctl & ~(DIAGLEDEN|DIAGLEDON)));

ahc_unpause(ahc);
}

Expand Down

0 comments on commit 9636c7c

Please sign in to comment.