I have given a list of default device numbers (from IDSEL address lines) and the interrupt number for each as defined in Open Firmware.
I've provided a test program to run in Open Firmware to read the interrupt lines.
So wouldn't the next thing be to run that program and find what pin changes each interrupt line?
I'd have to do some reading to understand what is needed for Request and Grant.
There are some comments about interrupts at
https://en.wikipedia.org/wiki/Peripheral_Component_Interconnect#Interrupts
A device usually uses INT#A, but the slot can send that to a different interrupt - rotating the INTs to spread the load. This rotation is shown in the image at
#2
https://68kmla.org/bb/index.php?attachments/advantec-riser-slot-map-table-00-jpg.17687/
I think it says PCI1 has interrupts B,C,D,A mapped to interrupt A,B,C,D of the riser slot.
For Macs, the interrupts are tied together so there's only one interrupt per slot. This happens upstream somewhere - on the motherboard or in the PCI host controller. Need schematics to know where.
Also in that image, it says IDSEL uses AD[31], AD[30], and AD[29]. Doesn't that mean you would have to patch Open Firmware to scan device numbers @1F, @1E, @1D? If slot A1 is device number @D, then those would be slots S1, R1, Q1 ?
A simple Open Firmware program can test those device numbers. Use a serial port connection to a modern Mac to input the program and capture the result.
https://www.dropbox.com/scl/fi/ddwv...ware.zip?rlkey=rujv8sbhb8v4ehk9b845bd3k1&dl=0
The riser at
#9 has IDSEL for slot A, B, C (device numbers @D, @E, @F; address lines 13, 14, 15).
Looking back at the oldest posts in this thread... What happened to post #1 in this thread? Also, the attachments 24070 in post
#2 and attachment 24056 in post
#3 and attachment 24290 in post
#7 seem unrelated.
Well, that was a bust. Took a few hours to find all the bits needed to get the 9500 board up and running on the bench to no avail. For whatever reason the fourth slot which should be Slot D1 shows up as Slot D2. Never seen nor heard of such a thing? First test of the ADVANTECH board didn't work in what the Tables on the card should have been Slot C. Didn't really expect it to work.
The 2 comes from the slot being connected to the second PCI host controller (pci2 - the second bandit controller). Slot names are programatically generated using the device number (@D, @E, @F for A, B, C of pci1 or D, E, F of pci2 or G, H, I of pci3) and the bridge number (1 for pci1, 2 for pci2, 3 for pci3). Bridge 0 is also a possibility but I don't think any Mac has a Bandit for that. pm8500,8600 has a Chaos for bridge 0 which doesn't get slot numbers except for a possible VCI slot. Not sure about bridge number 3 - did a network server have a 3rd bandit?