I have a suggestion about an wiki page.
Posted: Sat Nov 08, 2014 9:26 pm
I have a suggestion in PCI.
I had been worked PCI successfully by read that wiki but someone can be confuse such as me by just a 'word' so I want to make exact.
In top of Figure2, 3 and 4, the tables, 'register' need to change to 'byte' or 'byte offset', I think.
The word, 'register' already connote that 'size is 4bytes(32bits)' because already explained about register size before.
and the other table headers mean 32bits.
Thus, if remain that 'word' at that location, value of registers such as 00, 04, 08 and so on need to change to 0, 1, 2, 3 and so on.
In real code, if want to access 3rd register that has Class code, Subclass etc., do not use 08 as register value of Config register. Just use 2.
so changing the values is better.
I had been worked PCI successfully by read that wiki but someone can be confuse such as me by just a 'word' so I want to make exact.
In top of Figure2, 3 and 4, the tables, 'register' need to change to 'byte' or 'byte offset', I think.
The word, 'register' already connote that 'size is 4bytes(32bits)' because already explained about register size before.
and the other table headers mean 32bits.
Thus, if remain that 'word' at that location, value of registers such as 00, 04, 08 and so on need to change to 0, 1, 2, 3 and so on.
In real code, if want to access 3rd register that has Class code, Subclass etc., do not use 08 as register value of Config register. Just use 2.
so changing the values is better.