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