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