2005-05-24 09:14:37 +04:00
|
|
|
|
|
|
|
#include <sys/cdefs.h>
|
2005-12-11 15:16:03 +03:00
|
|
|
__KERNEL_RCSID(0, "$NetBSD: pcibusprint.c,v 1.3 2005/12/11 12:22:50 christos Exp $");
|
2004-08-30 14:30:38 +04:00
|
|
|
|
|
|
|
#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);
|
|
|
|
}
|