From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22641 invoked from network); 10 Nov 1998 05:09:07 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 10 Nov 1998 05:09:07 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id XAA08216 for ; Mon, 9 Nov 1998 23:54:09 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Mon, 09 Nov 1998 22:55:34 -0600 Received: by paralleldata.com from paralleldata.com (207.158.127.54::mail daemon; unverified,SLMail V2.5); Mon, 09 Nov 1998 22:55:31 -0600 Sender: "Wsb" Message-ID: <3647C8D2.B75B665A@paralleldata.com> Date: Tue, 10 Nov 1998 05:02:10 +0000 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: AlphaBIOS Utility programs? References: <199811100159.RAA10218@icarus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Stephen Williams wrote: > > This is the register that the BIOS fills in. The value written into > this register must account for hardware interrupt routing capabilities > of the system board that contains the PCI device. The BIOS may have > some leeway, but there may be physical constraints too. For example, it > is possible that certain slots of a system are assigned by design to > certain IRQ values. (We have a board that is like that.) > OK. It has something to do with that "leeway" you're describing. > wsb@paralleldata.com said: > > My understanding is that there are these small routines built into > > each adapter in some interpreted language that the PCI BIOS runs for > > each card to set it up and that code is what I always figured had the > > problem. > > The "Expansion ROM" that some PCI devices have (i.e. the Adaptec SCSI > boards) is machine code (usually 8086) that the BIOS executes when it > gets to the board. This may be executed before BAR/IRQ assignment to > do magic card setup, configure the card to a reset value, prompt for a > hardware setup, etc. This is the Control-A magic that you see with > these adaptec devices. > > The PCI standard allows for the expansion rom to contain machine code > for different host types, even many at once, for portability. As a > practical matter, though, DEC has given the alpha firmware an 8086 > emulator that is used to run the 8086 BIOS in video cards and SCSI > boards. Hmm.. Sounds like what I was trying to describe. > > The expansion ROM cannot assign IRQs, BARS, or any other resource > mapping. That would mess up the BIOS's attempt to arrange things. > > Besides, the expansion rom is optional. > It's optional on 2940/2940UW/3940W?? Don't think so. Definitely none on my tulip 10/100 card though. > wsb@paralleldata.com said: > > The 3940W in particular is nasty because it uses two interrupts. > > The "Interrupt Pin" register contains something other then 1? This is > the sort of thing that causes rotten BIOSes to show their odor. Guaranteed the 3940W uses multiple IRQ's. I see it when Win3.1 starts up in my other partition. Also /proc/pci says: Bus 2, device 5, function 0: SCSI storage controller: Adaptec AIC-7872 (rev 3). Medium devsel. Fast back-to-back capable. IRQ 11. Master Capable. Latency=64. Min Gnt=8.Max Lat=8. I/O at 0xd400. Non-prefetchable 32 bit memory at 0xfdafe000. Bus 2, device 4, function 0: SCSI storage controller: Adaptec AIC-7872 (rev 3). Medium devsel. Fast back-to-back capable. IRQ 9. Master Capable. Latency=64. Min Gnt=8.Max Lat=8. I/O at 0xd800. Non-prefetchable 32 bit memory at 0xfdaff000. And I only have ONE Adaptec card in this system. How many cards have you got that do that?? Wes