diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:18:35 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-08-28 12:18:35 -0400 |
commit | 7a93aef7fbac6f4db40b6fec5c0c6b654ae7a93c (patch) | |
tree | 4cd7aae38012dfc1ff6c62be20ef8840e56d8383 /drivers/scsi/aic7xxx/aic7xxx_osm.c | |
parent | 392160335c798bbe94ab3aae6ea0c85d32b81bbc (diff) | |
parent | 8224bfa84d510630b40ea460b2bb380c91acb8ae (diff) |
Merge HEAD from ../scsi-misc-2.6-tmp
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7xxx_osm.c')
-rw-r--r-- | drivers/scsi/aic7xxx/aic7xxx_osm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c index 687f19e9cf03..54173887e160 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_osm.c +++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c | |||
@@ -635,6 +635,8 @@ ahc_linux_slave_alloc(struct scsi_device *sdev) | |||
635 | 635 | ||
636 | targ->sdev[sdev->lun] = sdev; | 636 | targ->sdev[sdev->lun] = sdev; |
637 | 637 | ||
638 | spi_period(starget) = 0; | ||
639 | |||
638 | return 0; | 640 | return 0; |
639 | } | 641 | } |
640 | 642 | ||
@@ -1612,9 +1614,9 @@ ahc_send_async(struct ahc_softc *ahc, char channel, | |||
1612 | if (channel == 'B') | 1614 | if (channel == 'B') |
1613 | target_offset += 8; | 1615 | target_offset += 8; |
1614 | starget = ahc->platform_data->starget[target_offset]; | 1616 | starget = ahc->platform_data->starget[target_offset]; |
1615 | targ = scsi_transport_target_data(starget); | 1617 | if (starget == NULL) |
1616 | if (targ == NULL) | ||
1617 | break; | 1618 | break; |
1619 | targ = scsi_transport_target_data(starget); | ||
1618 | 1620 | ||
1619 | target_ppr_options = | 1621 | target_ppr_options = |
1620 | (spi_dt(starget) ? MSG_EXT_PPR_DT_REQ : 0) | 1622 | (spi_dt(starget) ? MSG_EXT_PPR_DT_REQ : 0) |
@@ -2329,8 +2331,6 @@ ahc_platform_dump_card_state(struct ahc_softc *ahc) | |||
2329 | { | 2331 | { |
2330 | } | 2332 | } |
2331 | 2333 | ||
2332 | static void ahc_linux_exit(void); | ||
2333 | |||
2334 | static void ahc_linux_set_width(struct scsi_target *starget, int width) | 2334 | static void ahc_linux_set_width(struct scsi_target *starget, int width) |
2335 | { | 2335 | { |
2336 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); | 2336 | struct Scsi_Host *shost = dev_to_shost(starget->dev.parent); |