1 #Define gppsb_configuration, A=0, B=1, C=2, D=3, E=4(default)
2 #Define gpp_configuration -> device 9 1x and device a 1x is 3 and device 9 2x is 2
3 #Define port_enable, (bit map): GFX(2,3), GPP(4,5,6,7)
4 #Define gfx_dev2_dev3, 0: a link will never be established on Dev2 or Dev3,
5 # 1: the system allows a PCIE link to be established on Dev2 or Dev3.
6 #Define gfx_dual_slot, 0: single slot, 1: dual slot (means if GFX slot are two 2 8x slots)
7 #Define gfx_lane_reversal, 0: disable lane reversal, 1: enable
8 #Define gfx_tmds, 0: didn't support TMDS, 1: support
9 #Define gfx_compliance, 0: didn't support compliance, 1: support
10 #Define gfx_reconfiguration, 0: short reconfiguration, 1(default): long reconfiguration
11 #Define gfx_link_width, 0: x16, 1: x1, 2: x2, 3: x4, 4: x8, 5: x12 (not supported), 6: x16
12 chip northbridge/amd/amdk8/root_complex
13 device lapic_cluster 0 on
14 chip cpu/amd/socket_939
18 device pci_domain 0 on
19 chip northbridge/amd/amdk8
20 device pci 18.0 on # southbridge
21 chip southbridge/amd/rs780
22 device pci 0.0 on end # HT 0x9600
23 device pci 1.0 on end # Internal Graphics P2P bridge 0x9602
24 device pci 2.0 on end # PCIE P2P bridge 16x slot
25 device pci 3.0 off end # used in dual slot config
26 device pci 4.0 off end # GPPSB
27 device pci 5.0 off end # GPPSB
28 device pci 6.0 off end # GPPSB
29 device pci 7.0 off end # GPPSB
30 device pci 8.0 off end # NB/SB Link P2P bridge
31 device pci 9.0 on end # GPP for x1 slot
32 device pci a.0 on end # GPP for internal network adapter
33 register "gppsb_configuration" = "4" # Configuration ?
34 register "gpp_configuration" = "3" # Configuration D default
35 register "port_enable" = "0x60c"
36 register "gfx_dev2_dev3" = "1"
37 register "gfx_dual_slot" = "0"
38 register "gfx_lane_reversal" = "0"
39 register "gfx_tmds" = "0"
40 register "gfx_compliance" = "0"
41 register "gfx_reconfiguration" = "1"
42 register "gfx_link_width" = "0"
44 chip southbridge/amd/sb700 # it is under NB/SB Link, but on the same pri bus
45 device pci 11.0 on end # SATA
46 device pci 12.0 on end # USB
47 device pci 12.1 on end # USB
48 device pci 12.2 on end # USB
49 device pci 13.0 on end # USB
50 device pci 13.1 on end # USB
51 device pci 13.2 on end # USB
52 device pci 14.0 on # SM
53 chip drivers/generic/generic #dimm 0-0-0
56 chip drivers/generic/generic #dimm 0-0-1
59 chip drivers/generic/generic #dimm 0-1-0
62 chip drivers/generic/generic #dimm 0-1-1
66 device pci 14.1 on end # IDE 0x439c
67 device pci 14.2 on end # HDA 0x4383
68 device pci 14.3 on # LPC 0x439d
70 chip superio/winbond/w83627dhg
71 device pnp 2e.0 off # Floppy
76 device pnp 2e.1 off # Parallel Port
80 device pnp 2e.2 on # Com1
84 device pnp 2e.3 on # Com2
88 device pnp 2e.5 on # Keyboard
93 #device pnp 2e.6 off # SPI
95 device pnp 2e.307 off # GPIO6
97 device pnp 2e.8 on # WDTO#, PLED
99 device pnp 2e.009 on # GPIO2
101 device pnp 2e.109 on # GPIO3
103 device pnp 2e.209 on # GPIO4
105 device pnp 2e.309 off # GPIO5
107 device pnp 2e.a off # ACPI
109 device pnp 2e.b on # HWM
112 device pnp 2e.c off # PECI, SST
114 end #superio/winbond/w8362
117 device pci 14.4 on end # PCI 0x4384
118 device pci 14.5 on end # USB 2
119 register "boot_switch_sata_ide" = "0" # 0: boot from SATA. 1: IDE
120 end #southbridge/amd/sb700
121 end # device pci 18.0
123 device pci 18.0 on end
124 device pci 18.0 on end
125 device pci 18.1 on end
126 device pci 18.2 on end
127 device pci 18.3 on end
128 end #northbridge/amd/amdk8
130 end #northbridge/amd/amdk8/root_complex