Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35056
b: refs/heads/master
c: cf2b5d3
h: refs/heads/master
v: v3
  • Loading branch information
Doug Ledford authored and James Bottomley committed Sep 23, 2006
1 parent 0fbfc8e commit f4c315a
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 3e3c60e3a8c7013d55768aa7256bb5a7f66b0bb4
refs/heads/master: cf2b5d3fcab77a9390293920ec5b49e67eced200
5 changes: 5 additions & 0 deletions trunk/drivers/scsi/aic7xxx/aic7xxx_osm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2539,6 +2539,7 @@ static void ahc_linux_set_iu(struct scsi_target *starget, int iu)
static void ahc_linux_get_signalling(struct Scsi_Host *shost)
{
struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata;
unsigned long flags;
u8 mode;

if (!(ahc->features & AHC_ULTRA2)) {
Expand All @@ -2550,7 +2551,11 @@ static void ahc_linux_get_signalling(struct Scsi_Host *shost)
return;
}

ahc_lock(ahc, &flags);
ahc_pause(ahc);
mode = ahc_inb(ahc, SBLKCTL);
ahc_unpause(ahc);
ahc_unlock(ahc, &flags);

if (mode & ENAB40)
spi_signalling(shost) = SPI_SIGNAL_LVD;
Expand Down

0 comments on commit f4c315a

Please sign in to comment.