Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: AlphaBIOS Utility programs?
Date: Tue, 10 Nov 1998 05:02:10 +0000	[thread overview]
Message-ID: <3647C8D2.B75B665A@paralleldata.com> (raw)
In-Reply-To: 199811100159.RAA10218@icarus.com

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


  reply	other threads:[~1998-11-10  5:09 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199811092256.OAA08927@icarus.com>
1998-11-09 23:48 ` AlphaBIOS Utility programs? Wes Bauske
1998-11-10  1:59   ` Stephen Williams
1998-11-10  5:02     ` Wes Bauske [this message]
1998-11-10 16:29       ` Stephen Williams
1998-11-10 22:00         ` Philip Blundell
1998-11-11  2:34           ` Wes Bauske
1998-11-11  9:06             ` philb
1998-11-11 10:25               ` Stefan Boresch
1998-11-11 18:48                 ` Wes Bauske
1998-11-12 18:00                 ` Jay.Estabrook
1998-11-13  0:53                   ` Alpha performance/cost numbers? Chris Albertson
1998-11-13  1:06                     ` Bob McElrath
1998-11-16 21:05                       ` Chris Albertson
1998-11-16 21:46                         ` Greg Lindahl
1998-11-16 23:05                           ` Maurice Hilarius
1998-11-17 14:42                             ` module pd.o in multia A. Rodriguez-Gonzalez
1998-11-16 21:56                         ` Alpha performance/cost numbers? Maurice Hilarius
1998-11-13  1:24                     ` Maurice Hilarius
1998-11-13  7:45                       ` Gerhard Schneider
1998-11-11 17:36               ` AlphaBIOS Utility programs? Stephen Williams
1998-11-12 18:18               ` Jay.Estabrook
1998-11-09 11:37 Stefan Boresch
1998-11-09 12:32 ` Stefan Boresch
1998-11-09 19:26   ` Wes Bauske
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox