Module Name:    src
Committed By:   tsutsui
Date:           Tue Sep 22 13:18:28 UTC 2009

Modified Files:
        src/sys/dev/ic: aic6360var.h
        src/sys/dev/isa: aic_isa.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/ic/aic6360var.h
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/isa/aic_isa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ic/aic6360var.h
diff -u src/sys/dev/ic/aic6360var.h:1.15 src/sys/dev/ic/aic6360var.h:1.16
--- src/sys/dev/ic/aic6360var.h:1.15	Tue Sep 22 12:56:06 2009
+++ src/sys/dev/ic/aic6360var.h	Tue Sep 22 13:18:28 2009
@@ -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_ */

Index: src/sys/dev/isa/aic_isa.c
diff -u src/sys/dev/isa/aic_isa.c:1.24 src/sys/dev/isa/aic_isa.c:1.25
--- src/sys/dev/isa/aic_isa.c:1.24	Tue Sep 22 12:56:06 2009
+++ src/sys/dev/isa/aic_isa.c	Tue Sep 22 13:18:28 2009
@@ -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 */

Reply via email to