diff options
author | 1998-01-05 13:35:17 +0000 | |
---|---|---|
committer | 1998-01-05 13:35:17 +0000 | |
commit | 50c9667d9cf19521468dc608bbf432a0945ebd14 (patch) | |
tree | bfef2e1ca7b84a72a6cb3de280e0d3a4b4057c77 /sys/dev/pci/vga_pci.c | |
parent | recalculate the free sectors after changing boundaries. (diff) | |
download | wireguard-openbsd-50c9667d9cf19521468dc608bbf432a0945ebd14.tar.xz wireguard-openbsd-50c9667d9cf19521468dc608bbf432a0945ebd14.zip |
new style pci attach printing
Diffstat (limited to 'sys/dev/pci/vga_pci.c')
-rw-r--r-- | sys/dev/pci/vga_pci.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/pci/vga_pci.c b/sys/dev/pci/vga_pci.c index 6007c303a30..33f88528697 100644 --- a/sys/dev/pci/vga_pci.c +++ b/sys/dev/pci/vga_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vga_pci.c,v 1.6 1997/11/06 12:26:56 niklas Exp $ */ +/* $OpenBSD: vga_pci.c,v 1.7 1998/01/05 13:35:27 deraadt Exp $ */ /* $NetBSD: vga_pci.c,v 1.4 1996/12/05 01:39:38 cgd Exp $ */ /* @@ -120,7 +120,6 @@ vga_pci_attach(parent, self, aux) struct pci_attach_args *pa = aux; struct vga_pci_softc *sc = (struct vga_pci_softc *)self; struct vga_config *vc; - char devinfo[256]; int console; console = (!bcmp(&pa->pa_tag, &vga_pci_console_tag, sizeof(pa->pa_tag))); @@ -138,9 +137,7 @@ vga_pci_attach(parent, self, aux) sc->sc_pcitag = pa->pa_tag; - pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo); - printf(": %s (rev. 0x%02x)\n", devinfo, - PCI_REVISION(pa->pa_class)); + printf("\n"); vga_wscons_attach(self, vc, console); } |