Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 1996 16:28:43 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        Richard J Kuhns <rjk@sparcmill.grauel.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: One problem && one question
Message-ID:  <199602131528.AA05771@Sysiphos>
In-Reply-To: Richard J Kuhns <rjk@sparcmill.grauel.com> "Re: One problem && one question" (Feb 13,  9:39)

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 13,  9:39, Richard J Kuhns wrote:
} Subject: Re: One problem && one question
} Justin T. Gibbs writes:
}  > Patch round two:
} 
} Sorry, still no cigar.  I rebooted this machine several times this morning,
} trying to copy the boot messages.  I guess I'd better set up a minimal
} configuration to test this so the bt messages will remain on-screen.
} 
} At any rate, I believe it looked like:
} 
} <Buslogic id info>  int a irq 10 pci 0:13
}   mapreg[10] type 1 addr 0x00006000 size ffff0004
} bt0: Invalid base address

The region size calculation seems broken!

I'll check whether this is caused by some 
bug in the generic PCI code ...

... Ok. I'm just back from reading the 
sources, and it appears that the BT946C
does not support a 32 bit I/O range as 
required by the PCI 2.0 spec ...

Please try the patch I have appended to
this message ...

Regards, STefan

Index: /sys/pci/pcireg.h
===================================================================
RCS file: /usr/cvs/src/sys/pci/pcireg.h,v
retrieving revision 1.7
diff -C2 -r1.7 pcireg.h
*** pcireg.h	1996/01/25 18:31:59	1.7
--- pcireg.h	1996/02/13 15:24:30
***************
*** 152,156 ****
  #define	PCI_MAP_MEMORY_ADDRESS_MASK	0xfffffff0
  
! #define	PCI_MAP_IO_ADDRESS_MASK         0xfffffffc
  /*
  ** PCI-PCI bridge mapping registers
--- 152,156 ----
  #define	PCI_MAP_MEMORY_ADDRESS_MASK	0xfffffff0
  
! #define	PCI_MAP_IO_ADDRESS_MASK         0x0000fffc
  /*
  ** PCI-PCI bridge mapping registers

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>



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