NetBSD/sys/dev/isa/commultiprint.c

22 lines
499 B
C

/* $NetBSD: commultiprint.c,v 1.4 2007/12/11 11:56:46 lukem Exp $ */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: commultiprint.c,v 1.4 2007/12/11 11:56:46 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <sys/bus.h>
#include <dev/isa/com_multi.h>
int
commultiprint(void *vca, const char *pnp)
{
struct commulti_attach_args *ca = vca;
if (pnp)
aprint_normal("com at %s", pnp);
aprint_normal(" slave %d", ca->ca_slave);
return (UNCONF);
}