NetBSD/sys/dev/isa/commultiprint.c

19 lines
397 B
C

/* $NetBSD: commultiprint.c,v 1.1 2004/09/14 17:19:34 drochner 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);
}