Subject: Re: ISA direct config of ACPI devices
To: Alan Barrett <>
From: Manuel Bouyer <>
List: tech-kern
Date: 11/22/2007 19:43:04
On Thu, Nov 22, 2007 at 07:19:06PM +0200, Alan Barrett wrote:
> On Thu, 22 Nov 2007, Matthias Drochner wrote:
> > I can imagine 3 approaches:
> You left out:
>   d) change "com0 at isa?" to "com* at isa?", ensure that there is no
>      "com0 at anything", and leave "com* at acpi?"  unchanged.  Because of
>      the order in which autoconfiguration happens, the first ACPI-attached
>      com port will be com0; or if there is no ACPI, then the first
>      ISA-attached com port will be com0.  Similarly for com[123], lpt[012],
>      etc.
>      I have been running kernels like this for years.

This has the drawback that if you have PCI com devices, they'll get attached
starting at com0, and what you're as the on-board serial devices won't be
at com0/com1 anymore.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference