feat: ajouts pour la détection avancée de périphérique PCI

This commit is contained in:
Nicolas Hordé 2007-03-13 20:36:31 +00:00
parent 8ec203c774
commit 7334a55e1d
1 changed files with 18 additions and 3 deletions

View File

@ -1,4 +1,4 @@
pci Struc
struc pcidata
vendor dw 0 ;vendor ID (read-only), FFFFh returned if requested device non-existent
device dw 0 ;device ID (read-only)
command dw 0 ;command register
@ -16,4 +16,19 @@ typed db 0 ;header type
;02h PCI-to-CardBus bridge
;bit 7: multi-function device
result db 0 ;Built-In Self-Test result
pci Ends
ends pcidata
struc pciinf
version_major db 0
version_minor db 0
types db 0
maxbus db 0
ends pciinf
multifunction equ 80h
othercard equ 00h
pci2pcibridge equ 01h
pci2pcicard equ 02h
config1addr equ 0CF8h
config1data equ 0CFCh