From owner-freebsd-hackers Thu Sep 26 11:18:25 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA25604 for hackers-outgoing; Thu, 26 Sep 1996 11:18:25 -0700 (PDT) Received: from Octopussy (Octopussy.MI.Uni-Koeln.DE [134.95.212.20]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA25549 for ; Thu, 26 Sep 1996 11:18:19 -0700 (PDT) Received: from x14.mi.uni-koeln.de (annexr3-12.slip.Uni-Koeln.DE) by Octopussy with SMTP id AA07221 (5.67b/IDA-1.5 for ); Thu, 26 Sep 1996 20:17:55 +0200 Received: (from se@localhost) by x14.mi.uni-koeln.de (8.7.6/8.6.9) id UAA08042; Thu, 26 Sep 1996 20:17:55 +0200 (MET DST) Date: Thu, 26 Sep 1996 20:17:55 +0200 (MET DST) Message-Id: <199609261817.UAA08042@x14.mi.uni-koeln.de> From: Stefan Esser To: "Mike Durian" Cc: Stefan Esser , Bruce Evans , freebsd-hackers@freebsd.org Subject: Re: Special Cycles on the PCI bus In-Reply-To: <199609251920.NAA22022@pluto.plutotech.com> References: <199609251920.NAA22022@pluto.plutotech.com> Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Mike Durian writes: > On Wed, 25 Sep 1996 20:06:25 +0200, Stefan Esser wrote: > > > >Well, but those are only used for config space accesses, > >and config space is normally not touched at all, after > >the PCI probe and attach are complete. > > I tracked down those accesses to 0xfca0. They are completely > normal. That is just where the ahc's I/O space got mapped. > The accesses were caused by the code in aic7xxx.c:ahc_scsi_cmd(). Ok, but that does not explain, why there are special cycles being generated. Could you please send information about your chip set (for example a boot message log) ? The PCI configuration space accesses are implemented by either of two methods (and possibly by both simultanously): Configuration mechanism 1) Write address to reg1 Read/write data to/from reg2 which is mapped to conf_reg Configuration mechanism 2) Write enable key to reg1 Read/write port in the c000/ffff range for conf_reg access Special cycles are generated if certain values are written to what I called "reg 1" above, and it is possible that the BIOS left the chip set in a state, where port accesses are forwarded to the bus, but also make the chip set generate special cycles. And to understand this, I'd like to know your chip set ... Regards, STefan