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