Nick: roxfan E-mail: none Board: compaq d510/d530 Contents: BIOS_E:7298 EnableFlash proc near ; DATA XREF: do_enable_flash+2o BIOS_E:7298 pusha BIOS_E:7299 pushf BIOS_E:729A cli BIOS_E:729B mov bx, 0F8h ; D31:F0 BIOS_E:729E mov di, 4Eh ; BIOS_CNTL BIOS_E:72A1 call pci_read_byte ; bx=bus.device.function,di=offset,out->cl BIOS_E:72A4 or cl, 1 BIOS_E:72A7 call pci_write_byte ; bx=bus.device.function,di=offset,cl=data BIOS_E:72AA mov dx, 44Dh ; LPC GPIO BIOS_E:72AD in al, dx BIOS_E:72AE or al, 10h BIOS_E:72B0 out dx, al BIOS_E:72B1 popf BIOS_E:72B2 popa BIOS_E:72B3 retn BIOS_E:72B3 EnableFlash endp