Message ID | 200809222150.m8MLohVg031878@imap1.linux-foundation.org |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: akpm@linux-foundation.org Date: Mon, 22 Sep 2008 14:50:43 -0700 > From: Bjorn Helgaas <bjorn.helgaas@hp.com> > > Use "[%04x:%04x]" for PCI vendor/device IDs to follow the format used by > lspci(8). > > Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Applied to net-next-2.6, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -puN drivers/net/irda/vlsi_ir.c~irda-follow-lspci-device-vendor-style drivers/net/irda/vlsi_ir.c --- a/drivers/net/irda/vlsi_ir.c~irda-follow-lspci-device-vendor-style +++ a/drivers/net/irda/vlsi_ir.c @@ -165,7 +165,7 @@ static void vlsi_proc_pdev(struct seq_fi unsigned iobase = pci_resource_start(pdev, 0); unsigned i; - seq_printf(seq, "\n%s (vid/did: %04x/%04x)\n", + seq_printf(seq, "\n%s (vid/did: [%04x:%04x])\n", pci_name(pdev), (int)pdev->vendor, (int)pdev->device); seq_printf(seq, "pci-power-state: %u\n", (unsigned) pdev->current_state); seq_printf(seq, "resources: irq=%u / io=0x%04x / dma_mask=0x%016Lx\n",