From owner-svn-src-projects@FreeBSD.ORG Sun Jun 14 20:54:46 2009 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AAF8106566B; Sun, 14 Jun 2009 20:54:46 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 498458FC1E; Sun, 14 Jun 2009 20:54:46 +0000 (UTC) (envelope-from gonzo@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5EKskAA059996; Sun, 14 Jun 2009 20:54:46 GMT (envelope-from gonzo@svn.freebsd.org) Received: (from gonzo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5EKsksk059995; Sun, 14 Jun 2009 20:54:46 GMT (envelope-from gonzo@svn.freebsd.org) Message-Id: <200906142054.n5EKsksk059995@svn.freebsd.org> From: Oleksandr Tymoshenko Date: Sun, 14 Jun 2009 20:54:46 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194212 - projects/mips/sys/mips/malta X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 20:54:46 -0000 Author: gonzo Date: Sun Jun 14 20:54:46 2009 New Revision: 194212 URL: http://svn.freebsd.org/changeset/base/194212 Log: - Fix prototypes to make compiler happy Modified: projects/mips/sys/mips/malta/gt_pci.c Modified: projects/mips/sys/mips/malta/gt_pci.c ============================================================================== --- projects/mips/sys/mips/malta/gt_pci.c Sun Jun 14 20:12:12 2009 (r194211) +++ projects/mips/sys/mips/malta/gt_pci.c Sun Jun 14 20:54:46 2009 (r194212) @@ -135,8 +135,9 @@ static int gt_pci_teardown_intr(device_t static int gt_pci_maxslots(device_t ); static int gt_pci_conf_setup(struct gt_pci_softc *, int, int, int, int, uint32_t *); -static uint32_t gt_pci_read_config(device_t, int, int, int, int, int); -static void gt_pci_write_config(device_t, int, int, int, int, uint32_t, int); +static uint32_t gt_pci_read_config(device_t, u_int, u_int, u_int, u_int, int); +static void gt_pci_write_config(device_t, u_int, u_int, u_int, u_int, + uint32_t, int); static int gt_pci_route_interrupt(device_t pcib, device_t dev, int pin); static struct resource * gt_pci_alloc_resource(device_t, device_t, int, int *, u_long, u_long, u_long, u_int); @@ -420,7 +421,7 @@ gt_pci_conf_setup(struct gt_pci_softc *s } static uint32_t -gt_pci_read_config(device_t dev, int bus, int slot, int func, int reg, +gt_pci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) { struct gt_pci_softc *sc = device_get_softc(dev); @@ -490,7 +491,7 @@ gt_pci_read_config(device_t dev, int bus } static void -gt_pci_write_config(device_t dev, int bus, int slot, int func, int reg, +gt_pci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) { struct gt_pci_softc *sc = device_get_softc(dev);