1 | |
---|---|
2 | #include <sys/cdefs.h> |
3 | __KERNEL_RCSID(0, "$NetBSD: pcibusprint.c,v 1.3 2005/12/11 12:22:50 christos Exp $"); |
4 | |
5 | #include <sys/param.h> |
6 | #include <sys/systm.h> |
7 | #include <sys/device.h> |
8 | #include <dev/pci/pcivar.h> |
9 | |
10 | int |
11 | pcibusprint(void *vpa, const char *pnp) |
12 | { |
13 | struct pcibus_attach_args *pa = vpa; |
14 | |
15 | if (pnp) |
16 | aprint_normal("pci at %s", pnp); |
17 | aprint_normal(" bus %d", pa->pba_bus); |
18 | return (UNCONF); |
19 | } |
20 |