Module Name:    src
Committed By:   dyoung
Date:           Tue Nov 17 23:46:27 UTC 2009

Modified Files:
        src/sys/arch/i386/eisa: eisa_machdep.c
        src/sys/arch/i386/include: eisa_machdep.h

Log Message:
Delete unused functions eisa_mem_alloc() and eisa_mem_free().


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/i386/eisa/eisa_machdep.c
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/i386/include/eisa_machdep.h

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/i386/eisa/eisa_machdep.c
diff -u src/sys/arch/i386/eisa/eisa_machdep.c:1.32 src/sys/arch/i386/eisa/eisa_machdep.c:1.33
--- src/sys/arch/i386/eisa/eisa_machdep.c:1.32	Fri Jun 27 11:12:06 2008
+++ src/sys/arch/i386/eisa/eisa_machdep.c	Tue Nov 17 23:46:27 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: eisa_machdep.c,v 1.32 2008/06/27 11:12:06 cegger Exp $	*/
+/*	$NetBSD: eisa_machdep.c,v 1.33 2009/11/17 23:46:27 dyoung Exp $	*/
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.32 2008/06/27 11:12:06 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eisa_machdep.c,v 1.33 2009/11/17 23:46:27 dyoung Exp $");
 
 #include "ioapic.h"
 
@@ -237,27 +237,6 @@
 }
 
 int
-eisa_mem_alloc(bus_space_tag_t t, bus_size_t size, bus_size_t align,
-    bus_addr_t boundary, int cacheable,
-    bus_addr_t *addrp, bus_space_handle_t *bahp)
-{
-	extern struct extent *iomem_ex;
-
-	/*
-	 * Allocate physical address space after the ISA hole.
-	 */
-	return bus_space_alloc(t, IOM_END, iomem_ex->ex_end, size, align,
-	    boundary, cacheable, addrp, bahp);
-}
-
-void
-eisa_mem_free(bus_space_tag_t t, bus_space_handle_t bah, bus_size_t size)
-{
-
-	bus_space_free(t, bah, size);
-}
-
-int
 eisa_conf_read_mem(eisa_chipset_tag_t ec, int slot,
     int func, int entry, struct eisa_cfg_mem *ecm)
 {

Index: src/sys/arch/i386/include/eisa_machdep.h
diff -u src/sys/arch/i386/include/eisa_machdep.h:1.11 src/sys/arch/i386/include/eisa_machdep.h:1.12
--- src/sys/arch/i386/include/eisa_machdep.h:1.11	Fri Jun 27 11:12:06 2008
+++ src/sys/arch/i386/include/eisa_machdep.h	Tue Nov 17 23:46:27 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: eisa_machdep.h,v 1.11 2008/06/27 11:12:06 cegger Exp $	*/
+/*	$NetBSD: eisa_machdep.h,v 1.12 2009/11/17 23:46:27 dyoung Exp $	*/
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
@@ -67,10 +67,6 @@
 void		*eisa_intr_establish(eisa_chipset_tag_t,
 		    eisa_intr_handle_t, int, int, int (*)(void *), void *);
 void		eisa_intr_disestablish(eisa_chipset_tag_t, void *);
-int		eisa_mem_alloc(bus_space_tag_t, bus_size_t, bus_size_t,
-		    bus_addr_t, int, bus_addr_t *, bus_space_handle_t *);
-void		eisa_mem_free(bus_space_tag_t, bus_space_handle_t,
-		    bus_size_t);
 
 int		eisa_conf_read_mem(eisa_chipset_tag_t, int, int, int,
 		    struct eisa_cfg_mem *);

Reply via email to