diff options
author | Michael Brown <mcb30@etherboot.org> | 2007-01-10 15:27:48 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2007-01-10 15:27:48 +0000 |
commit | fdc97499bf83ef958db8a50985fdd321835dccf3 (patch) | |
tree | 344a37ef66fa70650a85cd7429ad139bc7b284e0 /src/arch/i386/prefix/pxeprefix.S | |
parent | 489a4004d703d74f4ee5311a16a895a522c44879 (diff) | |
download | ipxe-fdc97499bf83ef958db8a50985fdd321835dccf3.tar.gz |
Add device description fields to struct device.
Diffstat (limited to 'src/arch/i386/prefix/pxeprefix.S')
-rw-r--r-- | src/arch/i386/prefix/pxeprefix.S | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/arch/i386/prefix/pxeprefix.S b/src/arch/i386/prefix/pxeprefix.S index 55a228ffc..8c091df64 100644 --- a/src/arch/i386/prefix/pxeprefix.S +++ b/src/arch/i386/prefix/pxeprefix.S @@ -220,7 +220,9 @@ get_physical_device: jmp no_physical_device pci_physical_device: - /* Record PCI bus:dev.fn */ + /* Record PCI bus:dev.fn and vendor/device IDs */ + movl ( pxe_parameter_structure + 0x03 ), %eax + movl %eax, pci_vendor movw ( pxe_parameter_structure + 0x0b ), %ax movw %ax, pci_busdevfn movw $10f, %si @@ -680,6 +682,9 @@ pci_busdevfn: .word 0xffff isapnp_csn: .word 0xffff isapnp_read_port: .word 0xffff +pci_vendor: .word 0 +pci_device: .word 0 + .equ undi_device_size, ( . - undi_device ) /***************************************************************************** |