PCI Devices - Is This Right?
Posted: Tue Jun 19, 2007 8:24 am
...
The Place to Start for Operating System Developers
http://f.osdev.org/
Two notes:Does that correctly identify the vendor, device and version of a PCI device?
Code: Select all
version = pci_read_short ( bus , slot , 0 , 8 ) >> 8;
AFAIK, that's hardware-dependent business. As a matter of fact I'm trying to get that to work on my ATI card but its accellerator CRTC declared war on meOh, an something I've been wondering: does VESA support hardware cursors? I haven't found anything on it so far...
Okay, good luck with that - though I'm sure you'll manage!AFAIK, that's hardware-dependent business. As a matter of fact I'm trying to get that to work on my ATI card but its accellerator CRTC declared war on me...
...this reads in the Class code and subclass, then discards the former. You probably want to read a short 0xA which is the Revision ID.
Ack % X_X _&&](*,)!"#O.o$#$&](*,) My wrong.Wouldn't the class code and subclass be at 0xA and the revision ID 0x8? As the right-side of the table is 0 and the left 31...