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