did some beautifying on the code

This commit is contained in:
Markus Fröschle
2016-07-31 19:13:16 +00:00
parent 1c64feb4cb
commit bc4a45aba4
8 changed files with 817 additions and 687 deletions

View File

@@ -195,7 +195,7 @@ typedef struct /* structure of address conversion */
/* register 0x08 macros */
#define PCI_CLASS_CODE(i) ((swpl((i)) & 0xff000000) >> 24)
#define PCI_SUBCLASS(i) ((swpl((i)) & 0xffff0000) >> 16)
#define PCI_SUBCLASS(i) ((swpl((i)) & 0x00ff0000) >> 16)
#define PCI_PROG_IF(i) ((swpl((i)) & 0x0000ff00) >> 8)
#define PCI_REVISION_ID(i) ((swpl((i)) & 0x000000ff))