Subject: Re: generic check_legacy_ioport

From: Olaf Hering <[email-masked]>
Date: Sun, 22 Apr 2007 08:46:14 +0200

On Sun, Apr 22, Milton Miller wrote:

> These are all ifdef'd for the driver being built-in.

Yes, silly Kbuild.

> Can we write someting generic instead that finds the isa
> bus, then walks children looking for a direct child that
> has a matching reg to the requested port?

Why bother?
Nothing else has device_type xyz in the device-tree, my patch handles
all cases. The code can be updated when some new board comes along with
different requirements.