Add device description fields to struct device.

This commit is contained in:
Michael Brown
2007-01-10 15:27:48 +00:00
parent 489a4004d7
commit fdc97499bf
10 changed files with 116 additions and 24 deletions
+6 -1
View File
@@ -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 )
/*****************************************************************************