Re: [PATCH 1/5] AIC7xxx : remove qfrozen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-03-28 at 17:38 +0200, Emmanuel Fusté wrote:
> @@ -747,14 +740,11 @@ ahc_linux_bus_reset(struct scsi_cmnd *cm
>  {
>         struct ahc_softc *ahc;
>         int    found;
> -       unsigned long flags;
>  
>         ahc = *(struct ahc_softc **)cmd->device->host->hostdata;
>  
> -       ahc_lock(ahc, &flags);
>         found = ahc_reset_channel(ahc, scmd_channel(cmd) + 'A',
>                                   /*initiate reset*/TRUE);
> -       ahc_unlock(ahc, &flags);

This looks to be a bug in aic79xx which is being copied into aic7xxx.

You can't call the reset function without holding the locks because it
will try to pause the sequencer.  The locks are essentially to gate
access to the sequencer registers.

James


-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux