Hi, so here's the log from my Al, v. 1.9, hopefully I did everything correctly. This one is with a generic USB card in the Cardbus slot:
=== CardBusCompat 1.9 ===
Read-only: writes only the config-address selector, which is how any config read is addressed.
--- IDENTITY: which Mac, and which Mac OS ROM ---
model = PowerBook5,1 |
compatible = PowerBook5,1 | MacRISC3 | Power Macintosh |
MacOSROMFile-version = 10.2f1 |
--- MACHINE: is there a CardBus bridge? ---
bridge vendor-id 0x0000104c
bridge device-id 0x0000ac56
bridge revision-id 0x00000000
name = cardbus |
device_type = cardbus |
compatible = pci104c,ac56 | cardbus-bridge |
model = TXN,PCIXXXX-00 |
bridge AAPL,address 0xf2009010
bus-range = (ABSENT)
driver,AAPL,MacOS,PowerPC = ABSENT (the ROM did NOT match this node; no socket driver, no Card Services)
CardBus bridge FOUND.
--- CARD: what is in the slot? ---
Mac OS 9 published NOTHING under the bridge.
No USB 1.1 function published UNDER THE BRIDGE. Either no card is inserted, or
Mac OS 9 does not recognise it (some cards are invisible to Mac OS 9 entirely).
USB 1.1 functions published in total 0x00000000
of those, NEC (vendor 0x1033) 0x00000000
--- MACHINE: can we reach config space the way the extension does? ---
Subject: the CardBus BRIDGE itself, because no card function is published.
chain (the extension takes the FIRST AAPL,address it meets):
level 0x00000000
name = cardbus |
device_type = cardbus |
AAPL,address 0xf2009010
level 0x00000001
name = pci |
device_type = pci |
AAPL,address = (ABSENT)
host-bus reg[0] (second candidate base) 0xf2000000
level 0x00000002
name = device-tree |
device_type = bootrom |
AAPL,address = (ABSENT)
level 0x00000003
name = Devices |
device_type = (ABSENT)
AAPL,address = (ABSENT)
subject bus 0x00000000
subject device 0x00000013
CANDIDATE 1: the extension's own rule (first parent AAPL,address).
base 0xf2009010
CONFIG_ADDRESS 0xf2809010
CONFIG_DATA 0xf2c09010
cycle type: 0 (the subject is on bus 0)
trusted reading (ExpMgr) 0xac56104c
raw reading (type-1) 0xac56104c
selector retries (0 is ideal) 0x00000000
RESULT: this base reproduced the known-good answer.
CANDIDATE 2: the canonical rule (host bus reg base).
base 0xf2000000
CONFIG_ADDRESS 0xf2800000
CONFIG_DATA 0xf2c00000
cycle type: 0 (the subject is on bus 0)
trusted reading (ExpMgr) 0xac56104c
raw reading (type-1) 0xac56104c
selector retries (0 is ideal) 0x00000000
RESULT: this base reproduced the known-good answer.
Both bases reach the same registers, which is the UniNorth aliasing, measured.
ORACLE PASSED: the raw path reproduced a known-good answer.
--- BRIDGE: its own PCI configuration ---
0x04 command/status 0x02100007
memory decode enabled: YES
I/O decode enabled: YES
bus master enabled: YES
0x10 socket register base (BAR0) 0xa0003000
0x18 bus numbers and CardBus latency 0x20010100
primary bus 0x00000000
SECONDARY (CardBus) bus 0x00000001
subordinate bus 0x00000001
0x1c memory window 0 base 0x90000000
0x20 memory window 0 limit 0x9ffff000
0x24 memory window 1 base 0x00000000
0x28 memory window 1 limit 0x00000000
0x2c I/O window 0 base 0x00001000
0x30 I/O window 0 limit 0x00008ffc
0x34 I/O window 1 base 0x00000000
0x38 I/O window 1 limit 0x00000000
0x3c int line / int pin / bridge control 0x040001ff
=> PROGRAMMED. The bridge has a secondary bus number, so firmware or software has
already configured it and a driver could inherit that work.
--- SLOT: the socket's own card-detect register ---
Skipped: AAPL,address and BAR0 disagree, so nothing here is safe to dereference.
AAPL,address page 0xf2009000
BAR0 page 0xa0003000
The registry had no bus-range, so the sweep below uses the secondary bus
number read from the bridge's own config space instead.
--- SLOT: raw sweep of the bridge's secondary bus ---
This sees the card itself, whether or not Mac OS 9 published anything for it.
sweeping bus 0x00000001
device 0x00000000
function 0x00000000
vendor/device 0x00351033
class-code 0x000c0310
= USB 1.1 (OHCI)
device 0x00000000
function 0x00000001
vendor/device 0x00351033
class-code 0x000c0310
= USB 1.1 (OHCI)
device 0x00000000
function 0x00000002
vendor/device 0x00e01033
class-code 0x000c0320
= USB 2.0 (EHCI)
functions that answered in total 0x00000003
========================= VERDICT =========================
SOCKET: NOT BOUND - the ROM did NOT attach a socket driver to this bridge.
Mac OS 9 carries socket support for two CardBus controllers only,
TI PCI1210 (pci104c,ac1a) and TI PCI1410 (pci104c,ac50). Card Services
itself is loaded by the same rule, so on this machine the whole PC Card
stack is absent, not merely idle. Every PC Card will appear dead.
Please send this log: the 'compatible' line above is the exact data needed.
MACHINE: YES - the config-address pair is verified (type 0, on the bridge) AND a card
answered a type-1 sweep of the slot's bus, so both cycle types work here.
CARD: NEC chipset present, but Mac OS 9 published nothing for it (raw sweep only).
===========================================================
A log named 'CardBus Compatibility Log' has been written to your startup disk.