Skip to content

Commit a47efc5

Browse files
committed
pcireg: Don't mask IRQ register contents
1 parent 114b19b commit a47efc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pcireg/pcireg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ dump_info(uint8_t bus, uint8_t dev, uint8_t func)
982982

983983
/* Print interrupt if present. */
984984
if (reg_val.u16[0] && (reg_val.u8[0] != 0xff))
985-
printf("\nInterrupt: INT%c (IRQ %d)", '@' + (reg_val.u8[1] & 15), reg_val.u8[0] & 15);
985+
printf("\nInterrupt: INT%c (IRQ %d)", '@' + (reg_val.u8[1] & 15), reg_val.u8[0]);
986986

987987
/* Print latency and grant if available. */
988988
if ((header_type & 0x7f) == 0x00) {

0 commit comments

Comments
 (0)