Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Don't declare ISA specific aic_isa_attach() in MI he...



details:   https://anonhg.NetBSD.org/src/rev/c459b3defea1
branches:  trunk
changeset: 747585:c459b3defea1
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue Sep 22 13:18:28 2009 +0000

description:
Don't declare ISA specific aic_isa_attach() in MI header, and
also make local functions in aic_isa.c static.

diffstat:

 sys/dev/ic/aic6360var.h |  3 +--
 sys/dev/isa/aic_isa.c   |  7 ++++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 7519e60a7049 -r c459b3defea1 sys/dev/ic/aic6360var.h
--- a/sys/dev/ic/aic6360var.h   Tue Sep 22 13:13:46 2009 +0000
+++ b/sys/dev/ic/aic6360var.h   Tue Sep 22 13:18:28 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic6360var.h,v 1.15 2009/09/22 12:56:06 tsutsui Exp $  */
+/*     $NetBSD: aic6360var.h,v 1.16 2009/09/22 13:18:28 tsutsui Exp $  */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Charles M. Hannum.  All rights reserved.
@@ -222,7 +222,6 @@
 int    aic_detach(device_t, int);
 int    aicintr(void *);
 int    aic_find(bus_space_tag_t, bus_space_handle_t);
-void   aic_isa_attach(device_t, device_t, void *);
 void   aic_init(struct aic_softc *, int);
 
 #endif /* _DEV_IC_AIC6360VAR_H_ */
diff -r 7519e60a7049 -r c459b3defea1 sys/dev/isa/aic_isa.c
--- a/sys/dev/isa/aic_isa.c     Tue Sep 22 13:13:46 2009 +0000
+++ b/sys/dev/isa/aic_isa.c     Tue Sep 22 13:18:28 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aic_isa.c,v 1.24 2009/09/22 12:56:06 tsutsui Exp $     */
+/*     $NetBSD: aic_isa.c,v 1.25 2009/09/22 13:18:28 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1994, 1995, 1996 Charles M. Hannum.  All rights reserved.
@@ -51,7 +51,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic_isa.c,v 1.24 2009/09/22 12:56:06 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic_isa.c,v 1.25 2009/09/22 13:18:28 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,7 +76,8 @@
 #include <dev/ic/aic6360reg.h>
 #include <dev/ic/aic6360var.h>
 
-int    aic_isa_probe(device_t, cfdata_t, void *);
+static int     aic_isa_probe(device_t, cfdata_t, void *);
+static void    aic_isa_attach(device_t, device_t, void *);
 
 struct aic_isa_softc {
        struct  aic_softc sc_aic;       /* real "aic" softc */



Home | Main Index | Thread Index | Old Index