diff options
| author | thorpej <thorpej@NetBSD.org> | 2002-09-30 21:31:52 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2002-09-30 21:31:52 +0000 |
| commit | 9bb77522c10734edbc8215c601d0c400a515285c (patch) | |
| tree | b6327228b26ab0738dcf3cea52d79c6315c727fc /sys/dev/mca/com_mca.c | |
| parent | e9d707fbd5eb3e9e8b02741357fd5ed7071107e6 (diff) | |
Use CFATTACH_DECL().
Diffstat (limited to 'sys/dev/mca/com_mca.c')
| -rw-r--r-- | sys/dev/mca/com_mca.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/mca/com_mca.c b/sys/dev/mca/com_mca.c index 96d00fcc827..62d450f2611 100644 --- a/sys/dev/mca/com_mca.c +++ b/sys/dev/mca/com_mca.c @@ -1,4 +1,4 @@ -/* $NetBSD: com_mca.c,v 1.7 2002/09/27 20:39:10 thorpej Exp $ */ +/* $NetBSD: com_mca.c,v 1.8 2002/09/30 21:36:45 thorpej Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -76,7 +76,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: com_mca.c,v 1.7 2002/09/27 20:39:10 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: com_mca.c,v 1.8 2002/09/30 21:36:45 thorpej Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -115,9 +115,8 @@ static int ibm_modem_getcfg __P((struct mca_attach_args *, int *, int *)); static int neocom1_getcfg __P((struct mca_attach_args *, int *, int *)); static int ibm_mpcom_getcfg __P((struct mca_attach_args *, int *, int *)); -const struct cfattach com_mca_ca = { - sizeof(struct com_mca_softc), com_mca_probe, com_mca_attach -}; +CFATTACH_DECL(com_mca, sizeof(struct com_mca_softc), + com_mca_probe, com_mca_attach, NULL, NULL) static const struct com_mca_product { u_int32_t cp_prodid; /* MCA product ID */ |
