Re: [RFC] aic94xx: attaching to the sas transport class

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

 



On Mon, 2006-03-06 at 16:44 -0800, Alexis Bruemmer wrote:
> Well the problems I have seen when testing your tree, as well as the
> original aic94xx/sas_class tree, is that the aic94xx driver enables phys
> before the upper level sas layer has discover all phys and ports.
> (again please see the boot dump I posted on Friday). 

Actually, this code is a much more complex way of doing what I just did
with the work queues.  The only difference is this:

> +	wait_for_completion(&asd_ha->sas_ha.discover_phy);
> +
>  	ASD_DPRINTK("enabled phys\n");

Which shows that the current scsi_flush_work() is in the wrong place.
If you move it out of sas_init.c and into aic94xx_init.c at this place,
I think you'll find everything now works for you.

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