public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* non-PCI libata
@ 2005-05-12 21:20 Joe Istead
  2005-05-12 21:23 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Joe Istead @ 2005-05-12 21:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: jgarzik

Hello,

I have a question related to an LKML post on April 5, 2005:

http://lkml.org/lkml/2005/4/5/210

Preamble:
I'm developing a low level driver for a non-PCI AHCI controller.  In
particular, I'm using uClinux (2.6.x kernel) on a Nios II processor (Avalon
bus, etc etc).  

It looks like porting "drivers/scsi/ahci.c" to uClinux is the easiest way to
do this.  However, ahci.c depends on libata, and both of these are littered
with PCI-specific calls.

Question:
Is there a non-PCI libata (or, are there plans to make one)?

Thanks,
Joe.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: non-PCI libata
  2005-05-12 21:20 non-PCI libata Joe Istead
@ 2005-05-12 21:23 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2005-05-12 21:23 UTC (permalink / raw)
  To: Joe Istead; +Cc: linux-kernel, linux-ide@vger.kernel.org

Joe Istead wrote:
> Hello,
> 
> I have a question related to an LKML post on April 5, 2005:
> 
> http://lkml.org/lkml/2005/4/5/210
> 
> Preamble:
> I'm developing a low level driver for a non-PCI AHCI controller.  In
> particular, I'm using uClinux (2.6.x kernel) on a Nios II processor (Avalon
> bus, etc etc).  
> 
> It looks like porting "drivers/scsi/ahci.c" to uClinux is the easiest way to
> do this.  However, ahci.c depends on libata, and both of these are littered
> with PCI-specific calls.
> 
> Question:
> Is there a non-PCI libata (or, are there plans to make one)?

libata already supports non-PCI.  Another engineer is already using 
libata on his embedded non-PCI hardware.

You'll just have to modify AHCI to support non-PCI.

	Jeff



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-12 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12 21:20 non-PCI libata Joe Istead
2005-05-12 21:23 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox