NetBSD/sys/dev/isa/commultiprint.c

19 lines
397 B
C

/* $NetBSD: commultiprint.c,v 1.2 2005/12/11 12:22:02 christos Exp $ */
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/device.h>
#include <machine/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);
}