Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 10:26:37 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194343 - head/sys/mips/idt
Message-ID:  <200906171026.n5HAQbZJ072159@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906171026.n5HAQbZJ072159>