1
2#include <sys/cdefs.h>
3__KERNEL_RCSID(0, "$NetBSD: pcibusprint.c,v 1.1.2.4 2005/11/10 14:06:02 skrll Exp $");
4
5#include <sys/param.h>
6#include <sys/systm.h>
7#include <sys/device.h>
8#include <dev/pci/pcivar.h>
9
10int
11pcibusprint(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