Subject: Re: personal impression of issues on netbsd/macppc
To: Tim Kelly <hockey@dialectronics.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-macppc
Date: 11/19/2004 21:34:09
Tim Kelly <hockey@dialectronics.com> writes:

> On 19 Nov 2004 20:45:40 -0500
> "Nathan J. Williams" <nathanw@wasabisystems.com> wrote:
> 
> > I have no idea what you mean by "optimized for the architecture". You
> > find the device, you read from it, you write to it.
> 
> Well, without ALLOW_MEMIO defined the Adaptec 2940UW card (ahc) won't
> work for the macppc port, but works fine on i386. hen in Apple
> hardware, the driver can't read the registers, probably because on Apple
> hardware OF is putting them up in the memory space instead of the I/O
> space. The device is found just fine. 

That the word "probably" has to be used in the explanation of what's
going on here makes me think that this issue isn't fully understood
and doesn't make a good case for per-architecture "optimizing".

        - Nathan