summaryrefslogtreecommitdiff
path: root/sys/alpha
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-09-02 06:12:19 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-09-02 06:12:19 +0000
commitf8ca9a36b7187ceefeb565094dad043c59128fbb (patch)
tree8ad9a4c6ef2a85855d944e63806bdcfcb673744a /sys/alpha
parent09b4ca36cb51861b874ec6793503a28e2e8a9482 (diff)
Notes
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/pci/pcibus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/pci/pcibus.c b/sys/alpha/pci/pcibus.c
index a22acdcfaf7e..a6102e40f558 100644
--- a/sys/alpha/pci/pcibus.c
+++ b/sys/alpha/pci/pcibus.c
@@ -262,7 +262,7 @@ alpha_pci_alloc_resource(device_t bus, device_t child, int type, int *rid,
else if (flags & PCI_RF_BWX)
va = ALPHAPCI_CVT_BWX(bus, rv->r_start);
else
- va = (void *) rv->r_start; /* maybe NULL? */
+ va = (void *)ALPHA_PHYS_TO_K0SEG(rv->r_start);
rman_set_virtual(rv, va);
break;