Subject: Re: AIC7899-related problems in 1.5.2 & -current
To: Lista de NetBSD current <list11@sepc.edu.mx>
From: Frank van der Linden <fvdl@wasabisystems.com>
List: current-users
Date: 12/12/2001 14:29:03
On Tue, Dec 11, 2001 at 06:52:34PM -0600, Lista de NetBSD current wrote:
> Thanks, Johnny... I have patched my sys/arch/i386/pci/pchb.c and
> I compiled a new kernel but the result at boot time is not good
> for me and the Dell4400. The machine starts from sd0a attached
> to a SCSI adapter in a PCI slot, but it can't see the SCSI chips
> built in mainboard.
> 
> If you have another idea about the solution, I will be happy
> to test it... thanks again.

I made the code explicitly switch on IO space for the CNB20HE, but not
the CNB20LE (mainly because noone had tested that so far). It seems
that it is needed for the CNB20LE as well. Could you try the following,
additional patch:


Index: pchb.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/pci/pchb.c,v
retrieving revision 1.29
diff -c -r1.29 pchb.c
*** pchb.c	2001/11/15 07:03:34	1.29
--- pchb.c	2001/12/12 13:30:03
***************
*** 144,149 ****
--- 144,150 ----
  		switch (PCI_PRODUCT(pa->pa_id)) {
  		case PCI_PRODUCT_SERVERWORKS_XX5:
  		case PCI_PRODUCT_SERVERWORKS_CNB20HE:
+ 		case PCI_PRODUCT_SERVERWORKS_CNB20LE:
  		case PCI_PRODUCT_SERVERWORKS_CIOB20:
  			if ((attachflags &
  			    (PCI_FLAGS_IO_ENABLED | PCI_FLAGS_MEM_ENABLED)) ==

-- 
Frank van der Linden                           fvdl@wasabisystems.com
======================================================================
Quality NetBSD CDs, Support & Service.   http://www.wasabisystems.com/