Subject: Re: personal impression of issues on netbsd/macppc
To: Nathan J. Williams <nathanw@wasabisystems.com>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 11/19/2004 21:19:58
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. 

The machine-dependent layer should be allowed to do optimizations that
are tied into the platform, including using memory space instead of I/O,
if it is faster. 

I'm grasping Michael's point better. I think I see where he's trying to
tie in.

tim