Subject: Re: PCI on MIPS big-endian?
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-mips
Date: 10/19/2005 11:48:12
On Tue, Oct 18, 2005 at 12:42:54PM -0700, Garrett D'Amore wrote:
> >The IDE driver does too.
> >
> >
> >
> Really? I don't see that, all I get are some NICs and the DPT driver.
> I tried this command:
>
> find src/sys/dev/ -name '*.[ch]' -print | xargs grep bus_space_read
See sys/dev/ata/ata_wdc.c, sys/dev/ic/wdc.c and sys/dev/scsipi/atapi_wdc.c
>
> I suspect that doing PIO for larger transfers would want that, but that
> most modern IDE controllers on non-PC systems would use DMA, and thus
> not need these routines.
Some commands explicitly use PIO to transfers data (e.g. SMART or IDENTIFY)
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--