Subject: Re: Problem with Tecra 8100 docking station.
To: None <dme@dme.org>
From: David Brownlee <abs@netbsd.org>
List: port-i386
Date: 10/18/2000 11:02:27
	Shouldn't that code fail the second attach with a diagnostic
	rather than panicing?

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --


On 18 Oct 2000 dme@dme.org wrote:

> * neil@COLT.NET [2000-10-18 10:34:03]
> | isa1 at pcib1
> | panic: isaattach: ISA bus already seen!
>
> The i386 isa code only allows a single ISA bus:
>
> void
> isa_attach_hook(parent, self, iba)
> 	struct device *parent, *self;
> 	struct isabus_attach_args *iba;
> {
>         [...]
> 	if (isa_has_been_seen)
> 		panic("isaattach: ISA bus already seen!");
> 	isa_has_been_seen = 1;
>
> Perhaps you could build a kernel that only allowed isa0 rather than
> the current isa* (in GENERIC).
>
> dme.
>