Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 1995 20:20:00 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, esser@ZPR.Uni-Koeln.DE
Cc:        current@FreeBSD.org
Subject:   Re: Enthusiasm boost: make world works on 386SX16 4Mb
Message-ID:  <199505181020.UAA19723@godzilla.zeta.org.au>

index | next in thread | raw e-mail

>} It's actually only an index into intr_countp[] and intrnames[].
>} Config is supposed to fill in all device tables with suitable
>} indexes and build a string table to match.  You can fake this
>} now using dummy isa devices:
>} 
>} 	device	PCI0	at isa?
>} 	...
>} 	device	PCI15	at isa?
>} 
>} Use a trivial failing probe routine to copy the ids to a pci-specific
>} place.

>Yes. Know this. But this would be to much of a hack IMHO !

It seems reasonable to have a real to have a real isa device
behind the glue routines in isa/pcibus.c.

>I've locally patched "config" to put pci devices into 
>"vector.h". This makes the names appear in the intrnames
>array, it just can't be located by the register_intr() 
>code.

>By having an explicit intrcnt address and another name 
>parameter, register_intr() could match the name in the 
>intrnames array as build by the modified config.

OK.  Put all the controller names in the string table so
that you don't have to decide which.

Bruce


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505181020.UAA19723>