Module Name:    src
Committed By:   dyoung
Date:           Wed Aug 19 15:17:00 UTC 2009

Modified Files:
        src/sys/arch/algor/pci: pcib.c

Log Message:
Define, and hook into the isa_chipset_tag_t, pcib_isa_detach_hook().


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/algor/pci/pcib.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/arch/algor/pci/pcib.c
diff -u src/sys/arch/algor/pci/pcib.c:1.20 src/sys/arch/algor/pci/pcib.c:1.21
--- src/sys/arch/algor/pci/pcib.c:1.20	Sat Mar 14 15:35:59 2009
+++ src/sys/arch/algor/pci/pcib.c	Wed Aug 19 15:17:00 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pcib.c,v 1.20 2009/03/14 15:35:59 dsl Exp $	*/
+/*	$NetBSD: pcib.c,v 1.21 2009/08/19 15:17:00 dyoung Exp $	*/
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>			/* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.20 2009/03/14 15:35:59 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.21 2009/08/19 15:17:00 dyoung Exp $");
 
 #include "opt_algor_p5064.h" 
 #include "opt_algor_p6032.h"
@@ -119,6 +119,7 @@
 
 void	pcib_isa_attach_hook(struct device *, struct device *,
 	    struct isabus_attach_args *);
+void	pcib_isa_detach_hook(isa_chipset_tag_t, device_t);
 
 int	pcib_intr(void *);
 
@@ -316,6 +317,7 @@
 
 	iba.iba_ic = &sc->sc_ic;
 	iba.iba_ic->ic_attach_hook = pcib_isa_attach_hook;
+	iba.iba_ic->ic_detach_hook = pcib_isa_detach_hook;
 
 	(void) config_found_ia(&sc->sc_dev, "isabus", &iba, isabusprint);
 }
@@ -329,6 +331,13 @@
 }
 
 void
+pcib_isa_detach_hook(isa_chipset_tag_t ic, device_t self)
+{
+
+	/* Nothing to do. */
+}
+
+void
 pcib_set_icus(struct pcib_softc *sc)
 {
 

Reply via email to