diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-05 13:35:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-05 13:35:28 +0000 |
commit | 8f5df3d168e7d5e5f5d5989cefd4c0f2e8f807eb (patch) | |
tree | 6e5c0670786a0c892d695e08071a8321f2bc09ba /sys/dev/pci/pci.c | |
parent | a5c7ab831eee6c24f1fac9dae6ce358a9044478f (diff) |
new style pci attach printing
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r-- | sys/dev/pci/pci.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index a780aa4b1ea..b57c0fadf90 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci.c,v 1.8 1997/10/11 09:14:53 pefo Exp $ */ +/* $OpenBSD: pci.c,v 1.9 1998/01/05 13:35:23 deraadt Exp $ */ /* $NetBSD: pci.c,v 1.26 1996/12/05 01:25:30 cgd Exp $ */ /* @@ -203,6 +203,11 @@ pciprint(aux, pnp) printf("%s at %s", devinfo, pnp); } printf(" dev %d function %d", pa->pa_device, pa->pa_function); + if (!pnp) { + pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo); + printf(": %s", devinfo); + } + return (UNCONF); } |