Date: Sun, 8 Feb 2009 07:03:34 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r188302 - head/sys/amd64/include Message-ID: <200902080703.n1873YQi014722@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sun Feb 8 07:03:34 2009 New Revision: 188302 URL: http://svn.freebsd.org/changeset/base/188302 Log: Companion for r188301: fix the prototypes. Modified: head/sys/amd64/include/legacyvar.h Modified: head/sys/amd64/include/legacyvar.h ============================================================================== --- head/sys/amd64/include/legacyvar.h Sun Feb 8 07:02:42 2009 (r188301) +++ head/sys/amd64/include/legacyvar.h Sun Feb 8 07:03:34 2009 (r188302) @@ -43,12 +43,12 @@ LEGACY_ACCESSOR(pcibus, PCIBUS, uint3 #undef LEGACY_ACCESSOR int legacy_pcib_maxslots(device_t dev); -uint32_t legacy_pcib_read_config(device_t dev, int bus, int slot, int func, - int reg, int bytes); +uint32_t legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, + u_int func, u_int reg, int bytes); int legacy_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result); -void legacy_pcib_write_config(device_t dev, int bus, int slot, int func, - int reg, u_int32_t data, int bytes); +void legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, + u_int func, u_int reg, uint32_t data, int bytes); int legacy_pcib_write_ivar(device_t dev, device_t child, int which, uintptr_t value); struct resource *legacy_pcib_alloc_resource(device_t dev, device_t child,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902080703.n1873YQi014722>