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