mirror of
https://github.com/86Box/probing-tools.git
synced 2026-02-24 20:35:34 -07:00
pcireg: Small formatting changes
This commit is contained in:
@@ -24,11 +24,11 @@ pci_cf8(uint8_t bus, uint8_t dev, uint8_t func, uint8_t reg)
|
||||
{
|
||||
/* Generate a PCI port CF8h dword. */
|
||||
multi_t ret;
|
||||
ret.u8[3] = 0x80;
|
||||
ret.u8[2] = bus;
|
||||
ret.u8[1] = dev << 3;
|
||||
ret.u8[3] = 0x80;
|
||||
ret.u8[2] = bus;
|
||||
ret.u8[1] = dev << 3;
|
||||
ret.u8[1] |= func & 7;
|
||||
ret.u8[0] = reg & 0xfc;
|
||||
ret.u8[0] = reg & 0xfc;
|
||||
return ret.u32;
|
||||
}
|
||||
|
||||
|
||||
@@ -956,8 +956,7 @@ normal:
|
||||
for (i = 0; i < 4; i++) {
|
||||
if (i)
|
||||
putchar(',');
|
||||
putchar(' ');
|
||||
printf("%d", irq_bitmap[entry->ints[i].link]);
|
||||
printf(" %d", irq_bitmap[entry->ints[i].link]);
|
||||
}
|
||||
|
||||
/* Finish line with a comment containing the slot number if present. */
|
||||
|
||||
Reference in New Issue
Block a user