From owner-p4-projects@FreeBSD.ORG Thu Nov 16 07:52:18 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9A11816A412; Thu, 16 Nov 2006 07:52:18 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E80216A407 for ; Thu, 16 Nov 2006 07:52:18 +0000 (UTC) (envelope-from kevlo@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 282E043D4C for ; Thu, 16 Nov 2006 07:52:18 +0000 (GMT) (envelope-from kevlo@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAG7qI5N016473 for ; Thu, 16 Nov 2006 07:52:18 GMT (envelope-from kevlo@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAG7qHE6016470 for perforce@freebsd.org; Thu, 16 Nov 2006 07:52:17 GMT (envelope-from kevlo@freebsd.org) Date: Thu, 16 Nov 2006 07:52:17 GMT Message-Id: <200611160752.kAG7qHE6016470@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to kevlo@freebsd.org using -f From: Kevin Lo To: Perforce Change Reviews Cc: Subject: PERFORCE change 110098 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2006 07:52:18 -0000 http://perforce.freebsd.org/chv.cgi?CH=110098 Change 110098 by kevlo@kevlo_rtsl on 2006/11/16 07:51:27 Cleanup -- eliminate unused header file and functions. Affected files ... .. //depot/projects/arm/src/sys/arm/xscale/ixp425/avila_machdep.c#6 edit .. //depot/projects/arm/src/sys/arm/xscale/ixp425/ds1672.c#2 edit .. //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425_sipvar.h#2 delete .. //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425_timer.c#3 edit .. //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425var.h#7 edit Differences ... ==== //depot/projects/arm/src/sys/arm/xscale/ixp425/avila_machdep.c#6 (text+ko) ==== @@ -96,7 +96,6 @@ #include #include -#include #define KERNEL_PT_SYS 0 /* Page table for mapping proc0 zero page */ #define KERNEL_PT_IO 1 @@ -480,7 +479,7 @@ */ cpu_idcache_wbinv_all(); /* - * Fetch the SDRAM start/size from the i80321 SDRAM configration + * Fetch the SDRAM start/size from the ixp425 SDRAM configration * registers. */ cninit(); ==== //depot/projects/arm/src/sys/arm/xscale/ixp425/ds1672.c#2 (text+ko) ==== @@ -46,7 +46,6 @@ #include #include -#include #include ==== //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425_timer.c#3 (text+ko) ==== @@ -54,7 +54,6 @@ #include #include #include -#include static uint32_t counts_per_hz; ==== //depot/projects/arm/src/sys/arm/xscale/ixp425/ixp425var.h#7 (text+ko) ==== @@ -85,22 +85,12 @@ #define GPIO_CONF_READ_4(sc, reg) \ bus_space_read_4(sc->sc_iot, sc->sc_gpio_ioh, reg) -extern struct bus_space ixpsip_bs_tag; extern struct bus_space ixp425_bs_tag; extern struct bus_space ixp425_a4x_bs_tag; -void ixp425_bs_init(bus_space_tag_t, void *); -void ixp425_md_pci_init(struct ixp425_softc *); -void ixp425_pci_init(struct ixp425_softc *); -void ixp425_pci_dma_init(struct ixp425_softc *); void ixp425_io_bs_init(bus_space_tag_t, void *); void ixp425_mem_bs_init(bus_space_tag_t, void *); -void ixp425_clk_bootstrap(bus_space_tag_t); -void ixp425_intr_init(void); -void *ixp425_intr_establish(int, int, int (*)(void *), void *); -void ixp425_intr_disestablish(void *); - uint32_t ixp425_sdram_size(void); int ixp425_md_route_interrupt(device_t, device_t, int);