Re: [PATCH] updates to Vitesse SATA driver
From: Dave <hidden>
Date: 2004-09-30 16:17:10
On Wed, 29 Sep 2004 23:28:19 -0400, Jeff Garzik [off-list ref] wrote:
By default it only scans device 0, since SATA is a point-to-point connection where there is no possibility for more than one device :) However, some hardware chooses to emulate master/slave mode. Use of this, particularly on Vitesse/Intel, is highly discouraged in favor of DPA mode. I would prefer to not support master/slave mode at all.
I am using the DPA mode. There is no way to even have the controller work in legacy mode with the sata driver. Although the generic IDE driver can be tweaked to use that. And yes I agree, no point to support the master/slave mode. It was done for backward compatibility for whatever reason....
Technically speaking, one sets the ATA_FLAG_SLAVE_POSS flag to tell the libata core to scan for device 1.
For some odd reason we are scanning device 1 on XScale IOP platform with the exact same driver code. I'll have to investigate some more and see why it's doing that. -- -= Dave =- Software Engineer - Advanced Development Engineering Team Storage Component Division - Intel Corp. mailto://dave.jiang @ intel ---- The views expressed in this email are mine alone and do not necessarily reflect the views of my employer (Intel Corp.).