Subject: Re: Rework of ATA code to support native SATA controllers
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 12/17/2003 00:13:00
On Tue, Dec 16, 2003 at 02:51:36PM -0800, Jason Thorpe wrote:
> 
> On Dec 16, 2003, at 2:30 PM, Manuel Bouyer wrote:
> 
> >Any idea on how ATAPI over SATA will look like ? My guess is that we'll
> >need an equivalent of atapi_wdc.c too, so I wonder if trying to share 
> >the
> >atabus bits wouldn't be more trouble than it's worth.
> 
> For one controller I'm working with, you simply say "packet protocol" 
> and stuff the ATAPI (scsi) command in the chip-specific command header. 

OK, so this one needs its own atapi_wdc.c (which will probably not look
like atapi_wdc.c :)

>  For other controllers that emulate the legacy ATA registers, ATAPI 
> should Just Work as it does today.

Yes.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--