From owner-svn-src-head@FreeBSD.ORG Wed Jun 17 10:26:37 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B85FC1065672; Wed, 17 Jun 2009 10:26:37 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A6CB08FC08; Wed, 17 Jun 2009 10:26:37 +0000 (UTC) (envelope-from bz@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 n5HAQbaw072161; Wed, 17 Jun 2009 10:26:37 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5HAQbZJ072159; Wed, 17 Jun 2009 10:26:37 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <200906171026.n5HAQbZJ072159@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Wed, 17 Jun 2009 10:26:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194343 - head/sys/mips/idt X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 10:26:38 -0000 Author: bz Date: Wed Jun 17 10:26:37 2009 New Revision: 194343 URL: http://svn.freebsd.org/changeset/base/194343 Log: Make compile again using proper protoypes for pcib_read/write_config DEVMETHOD. Modified: head/sys/mips/idt/idtpci.c Modified: head/sys/mips/idt/idtpci.c ============================================================================== --- head/sys/mips/idt/idtpci.c Wed Jun 17 10:23:25 2009 (r194342) +++ head/sys/mips/idt/idtpci.c Wed Jun 17 10:26:37 2009 (r194343) @@ -287,7 +287,7 @@ idtpci_maxslots(device_t dev) } static uint32_t -idtpci_read_config(device_t dev, int bus, int slot, int func, int reg, +idtpci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) { uint32_t data; @@ -343,7 +343,7 @@ idtpci_read_config(device_t dev, int bus } static void -idtpci_write_config(device_t dev, int bus, int slot, int func, int reg, +idtpci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, uint32_t data, int bytes) { bus_addr_t addr;