Home | History | Annotate | Line # | Download | only in isa
commultiprint.c revision 1.3.8.2
      1  1.3.8.2    bouyer /* $NetBSD: commultiprint.c,v 1.3.8.2 2008/01/02 21:54:25 bouyer Exp $ */
      2  1.3.8.2    bouyer 
      3  1.3.8.2    bouyer #include <sys/cdefs.h>
      4  1.3.8.2    bouyer __KERNEL_RCSID(0, "$NetBSD: commultiprint.c,v 1.3.8.2 2008/01/02 21:54:25 bouyer Exp $");
      5  1.3.8.1    bouyer 
      6  1.3.8.1    bouyer #include <sys/cdefs.h>
      7  1.3.8.1    bouyer __KERNEL_RCSID(0, "$NetBSD: commultiprint.c,v 1.3.8.2 2008/01/02 21:54:25 bouyer Exp $");
      8      1.1  drochner 
      9      1.1  drochner #include <sys/param.h>
     10      1.1  drochner #include <sys/systm.h>
     11      1.1  drochner #include <sys/device.h>
     12      1.3        ad #include <sys/bus.h>
     13      1.1  drochner #include <dev/isa/com_multi.h>
     14      1.1  drochner 
     15      1.1  drochner int
     16      1.1  drochner commultiprint(void *vca, const char *pnp)
     17      1.1  drochner {
     18      1.1  drochner 	struct commulti_attach_args *ca = vca;
     19      1.1  drochner 
     20      1.1  drochner 	if (pnp)
     21      1.1  drochner 		aprint_normal("com at %s", pnp);
     22      1.1  drochner 	aprint_normal(" slave %d", ca->ca_slave);
     23      1.1  drochner 	return (UNCONF);
     24      1.1  drochner }
     25