














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Status Register
Command Register
Device ID
Vendor ID
BIST
Cache Line Size
Class Code Class/SubClass/ProgIF
Revision ID
Base Address 0
Subsystem Device ID
Subsystem Vendor ID
CardBus CIS Pointer
reserved capabilities pointer Expansion ROM Base Address
Minimum Grant
Interrupt Pin
reserved
Latency Timer
Header Type
Base Address 1
Base Address 3 Base Address 2
Base Address 5 Base Address 4
Interrupt Line
Maximum Latency
16 doublewords
Dwords
reserved
Interface to PCI Configuration Space
E N
bus (8-bits)
device (5-bits)
doubleword (6-bits)
function
Enable Configuration Space Mapping (1=yes, 0=no)
# read the PCI Header-Type field (byte 2 of dword 3) for bus=0, device=0, function= movl $0x8000000C, %eax # setup address in EAX movw $0x0CF8, %dx # setup port-number in DX outl %eax, %dx # output address to port
mov $0x0CFC, %dx # setup port-number in DX inl %dx, %eax # input configuration longword shr $16, %eax # shift word 2 into AL register movb %al, header_type # store Header Type in variable Docsity.com
$ /sbin/ifconfig