Subject: Re: NetBSD master CVS tree commits
To: The Source of All Evil <source@NetBSD.ORG>
From: Justin T. Gibbs <gibbs@freefall.freebsd.org>
List: source-changes
Date: 04/02/1996 21:45:44
>
>chuck
>Tue Apr  2 23:26:41 EST 1996
>Update of /a/cvsroot/src/sys/arch/i386/i386
>In directory pain.lcs.mit.edu:/a/tmp/cvs-serv3377
>
>Modified Files:
>	mainbus.c 
>Log Message:
>as per cgd:
>	temporarily revert bus config order back to isa->eisa->pci
>	until port allocation/accounting is ready (XXX).
>
>	works around problem of the if_ep driver's probe function trashing 
>	an adaptec 2940 if the BIOS maps it in at port 0xf000.  (the
>	BIOS on my new P166 does this, ... the BIOS on my P133's does not).
>	without this the P166 system will reset as soon as spl0() is called 
>	(autoconf.c) making it impossible to install the OS.

Instead of changing the probe order, you can change the probe in the ep
driver to use inbs instead of inws to get the EISA ID out of slot space
which will not upset the Adaptec.  Changing the ep driver to have a true
EISA driver would also work since the NetBSD EISA code uses inbs.

--
Justin T. Gibbs
===========================================
  FreeBSD: Turning PCs into workstations
===========================================