Specifications

©
2008 Advanced Micro Devices Inc.
PCI IRQ Routing
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 22
4.3 Integrated PCI Devices IRQ Routing
In the SB600, the AC’97 and USB need PCI IRQ. Internally, they are routed to different PCI
INT#s.
Device Reg3Dh of
PCI Device
PCI INT# Description
Bus 0:Device 14h:Function 1 01 INTA# IDE Controller*
Bus 0:Device 14h: Function 2 01 Programmable*** High Definition Audio
Bus 0:Device 14h:Function 5 02 INTB# AC’97 Audio Controller
Bus 0:Device 14h:Function 6 02 INTB# AC’97 Modem Controller
Bus 0:Device 13h:Function 0 01 INTA# OHCI USB Controller #1
Bus 0:Device 13h:Function 1 02 INTB# OHCI USB Controller #2
Bus 0:Device 13h:Function 2 03 INTC# EHCI USB Controller
Bus 0:Device 13h: Function 3 02 INTB# OHCI USB Controller #3
Bus 0:Device 13h: Function 4 03 INTC# OHCI USB Controller #4
Bus 0:Device 13h: Function5 04 INTD# EHCI USB Controller
Bus 0:Device 12h:Function 0 01 Programmable** SATA Controller #1
Bus 0:Device 11h:Function 0 01 Programmable** SATA Controller #2
Notes:
* IDE controller needs PCI IRQ only if it is set to the native mode.
** Smbus_pci_config 0xAF [4:2] for SATA1
Smbus_pci_config 0xAF [7:5] for SATA2
*** Refer to section 4.3.1 for details.
4.3.1 IRQ Routing for HD Audio
Interrupt routing for device 14h, function 2 HD Audio is done through PCI SMBUS (device 14h,
function 0) register 63h. Values from INTA# to INTH# can be set in this register.
Sample Code: Set High Definition Audio interrupt routing to INTA#:
mov eax,8000A060h ; Device 14h, function 0, registers 60h-63h
mov dx,0CF8h ; PCI configuration Index register
out dx,eax ; Set to read/write registers 60h-63h
mov dx,0CFFh ; PCI configuration Data register for 63h
mov al,0 ; Set to INTA#
out dx,al ; Write to PCI register 63h
Note: The SB600 has provisions to modify the interrupt pin register (PCI register 3Dh) for special
conditions. This pin is modified through device 14h, function 2, register 44h. Under normal
circumstances do not modify this register. The default is Pin 1.