summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-02-08 07:03:34 +0000
committerimp <imp@FreeBSD.org>2009-02-08 07:03:34 +0000
commitf765a01b0903c0c06f893303e551e6d959db5a5a (patch)
tree33db47b9b3700c42ab26fd492c6bafc07a26bd4f
parent932f4517f0542509924127b95b9d0055757ab9f0 (diff)
downloadFreeBSD-src-f765a01b0903c0c06f893303e551e6d959db5a5a.zip
FreeBSD-src-f765a01b0903c0c06f893303e551e6d959db5a5a.tar.gz
Companion for r188301: fix the prototypes.
-rw-r--r--sys/amd64/include/legacyvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/include/legacyvar.h b/sys/amd64/include/legacyvar.h
index 5ab7b35..12a2864 100644
--- a/sys/amd64/include/legacyvar.h
+++ b/sys/amd64/include/legacyvar.h
@@ -43,12 +43,12 @@ LEGACY_ACCESSOR(pcibus, PCIBUS, uint32_t)
#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,
OpenPOWER on IntegriCloud