Subject: Re: promise sata TX2Plus not configured
To: john heasley <heas@shrubbery.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 03/09/2005 17:41:02
On Tue, Mar 08, 2005 at 08:17:22PM +0000, john heasley wrote:
> > Unfortunately just adding the device to pcidevs and pcidevs.h doesn't help.
> > Those promise cards have some specific code in sys/dev/pci/pdcsata.c which
> > checks for the id. If you take a short look at that code you'll see that the
> > driver uses a special handling of those promise cards. (i refer to $NetBSD:
> > pdcsata.c,v 1.2 2004/11/28 14:34:31 bouyer Exp $ written by Manuel Bouyer.)
>
> a quick glance at this driver, it does not seem to handle pci buss
> endianness. afaik there is no automatic handling, so the register
> reads/writes are probably off.
bus_space() handles it.
>
> Has anyone tried a Promise SATA card on a big-endian box?
I developed the driver on a Ultra/5
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--