aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2010-01-27 06:28:16 +0000
committerAlexander Motin <mav@FreeBSD.org>2010-01-27 06:28:16 +0000
commit6d21c943a3feb11a6a0eca98083bbc8741341665 (patch)
treece6acf646daeaeb8997b2109d4b199b21886f053 /sys/dev/ata
parentab13f9f29ea4c56fbeb6578e66baed63d1b1e9dd (diff)
Notes
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/chipsets/ata-promise.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/chipsets/ata-promise.c b/sys/dev/ata/chipsets/ata-promise.c
index a4e9414ca7e4..3054552c305b 100644
--- a/sys/dev/ata/chipsets/ata-promise.c
+++ b/sys/dev/ata/chipsets/ata-promise.c
@@ -628,7 +628,7 @@ ata_promise_mio_status(device_t dev)
}
/* read and acknowledge interrupt */
- vector = (uint32_t)ctlr->chipset_data;
+ vector = (uint32_t)(uintptr_t)ctlr->chipset_data;
/* read and clear interface status */
status = ATA_INL(ctlr->r_res2, stat_reg);