Re: What breaks aic7xxx in post 2.6.12-rc2 ?
From: James Bottomley
Date: Thu May 19 2005 - 20:19:20 EST
On Thu, 2005-05-19 at 20:05 -0500, K.R. Foley wrote:
> It does work with the exception that my u160 drive is still identified
> as 80MB/s.
Well, that's some good news, at least.
> May 19 19:36:46 porky kernel: scsi0:A:0:0: Tagged Queuing enabled. Depth 32
> May 19 19:36:46 porky kernel: target0:0:0: Beginning Domain Validation
> May 19 19:36:46 porky kernel: WIDTH IS 1
> May 19 19:36:46 porky kernel: (scsi0:A:0): 6.600MB/s transfers (16bit)
> May 19 19:36:46 porky kernel: (scsi0:A:0): 80.000MB/s transfers
> (40.000MHz, offset 127, 16bit)
OK, it looks like the period is limited to 25ns. Could you confirm
this?
cat /sys/class/spi_transport/target0:0:0/period
cat /sys/class/spi_transport/target0:0:0/max_period
Now, if the max_period is 25, try doing
echo 12.5 > /sys/class/spi_transport/target0:0:0/max_period
and then
echo 1 > /sys/class/spi_transport/target0:0:0/revalidate
to trigger a revalidation of the domain and see if it comes up to 160.
Thanks,
James
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/