AMD SB600 Specifications Page 56

  • Download
  • Add to my manuals
  • Print
  • Page
    / 98
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 55
©
2008 Advanced Micro Devices Inc.
Sample Programs
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 56
cmp al, 0Ch ; Max index in 9 to 0Ch series
jbe ClearPciIrq9ToC
pop dx ; Restore the registers
pop ax
ret
PciIrqInit endp
14.2 Setup Options
14.2.1 64 Bytes DMA
If 64 bytes DMA is selected for P2P bridge, set PCI to PCI bridge device 14h, function 4, register
4Bh, bit 4 to 1.
14.2.2 USB Overcurrent Detection Disable
To disable over-current detection for both OHCI and EHCI USB devices, set USB device 13h,
function 0 register 51h, bit 0,
Sample Program
UsbOverCurrentDetectionDisable proc near
push eax ; Save registers used by this device
push dx
mov dx,0CF8h ; PCI configuration space index register
mov eax,8000A850h ; Device 13h, function 0, register 50h-53h
out dx,eax
mov dx,0CFDh ; PCI configuration space. Access reg. 51h
in dx,al ; Read current value
or al,01h ; Set to disable USB OHCI and EHCI overcurrent
out dx,al
pop dx ; Restore registers used by this routine
pop eax ;
ret
UsbOverCurrentDetectionDisable endp
Page view 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 97 98

Comments to this Manuals

No comments