summaryrefslogtreecommitdiffstats
path: root/sys/pci/meteor.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-03-19 15:03:00 +0000
committerbde <bde@FreeBSD.org>1996-03-19 15:03:00 +0000
commit450b4c5cf434f35a45a1ff9dd6fc634fd777d712 (patch)
tree832a264c27be21f32c4604bbdcf83739414789f3 /sys/pci/meteor.c
parent16bb0803c0e2d0d807e6eebb114f9e6c95637034 (diff)
downloadFreeBSD-src-450b4c5cf434f35a45a1ff9dd6fc634fd777d712.zip
FreeBSD-src-450b4c5cf434f35a45a1ff9dd6fc634fd777d712.tar.gz
Fixed unsigned longs that should have been vm_offset_t.
vm_offset_t is currently unsigned long but should probably be plain unsigned for i386's to match the choice of minimal types to represent for fixed-width types in Lite2. Anyway, it shouldn't be assumed to be unsigned long. I only fixed the type mismatches that were detected when I changed vm_offset_t to unsigned. Only pointer type mismatches were detected.
Diffstat (limited to 'sys/pci/meteor.c')
-rw-r--r--sys/pci/meteor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/meteor.c b/sys/pci/meteor.c
index 6059566..afb37dd 100644
--- a/sys/pci/meteor.c
+++ b/sys/pci/meteor.c
@@ -885,7 +885,7 @@ met_attach(pcici_t tag, int unit)
mtr = &meteor[unit];
mtr->tag = tag;
- pci_map_mem(tag, PCI_MAP_REG_START, (u_long *)&mtr->base,
+ pci_map_mem(tag, PCI_MAP_REG_START, (vm_offset_t *)&mtr->base,
&mtr->phys_base);
#ifdef METEOR_IRQ /* from the configuration file */
OpenPOWER on IntegriCloud