msgno not msgs. Reference: /n/atom/patch/applied/pcimsgsss Date: Tue Jan 7 18:50:09 CET 2014 Signed-off-by: quanstro@quanstro.net --- /sys/src/cmd/pci/pci.c Tue Jan 7 18:49:52 2014 +++ /sys/src/cmd/pci/pci.c Tue Jan 7 18:49:52 2014 @@ -73,7 +73,7 @@ si = ""; if(i == 4 || i == 6) si = cap&1<<8? "; slot": "; integrated"; - Bprint(&o, "\t\tpcie type: %s%s; msgs %d\n", s, si, cap>>9 & 0x3f); + Bprint(&o, "\t\tpcie type: %s%s; msgno %d\n", s, si, cap>>9 & 0x3f); dcr = pcicfgr16(p, off + PcieDCR); Bprint(&o, "\t\tdevice control: %.4ux; ", dcr); @@ -82,7 +82,6 @@ Bprint(&o, "%s ", dcrtab[i].s); } Bprint(&o, "\n"); - cap = pcicfgr32(p, off + PcieCAP); i = cap & 7; for(j = 128; i != 0; i--)