summaryrefslogtreecommitdiffstats
path: root/sys/alpha/pci
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2002-03-21 18:48:00 +0000
committergallatin <gallatin@FreeBSD.org>2002-03-21 18:48:00 +0000
commit8ee1755c8ef3729bb2d3c4bfae2b85b786fdaf70 (patch)
tree192ebdaa31628d420685ba54f36dfe3227ec5ba7 /sys/alpha/pci
parentc6f11894678e1e8bc69f2157c5a110d1871fbfe8 (diff)
downloadFreeBSD-src-8ee1755c8ef3729bb2d3c4bfae2b85b786fdaf70.zip
FreeBSD-src-8ee1755c8ef3729bb2d3c4bfae2b85b786fdaf70.tar.gz
shut up the compiler
Diffstat (limited to 'sys/alpha/pci')
-rw-r--r--sys/alpha/pci/t2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/alpha/pci/t2.c b/sys/alpha/pci/t2.c
index 508bc7e..c9fd3e2 100644
--- a/sys/alpha/pci/t2.c
+++ b/sys/alpha/pci/t2.c
@@ -337,7 +337,7 @@ t2_probe(device_t dev)
device_printf(dev, "using interrupt type %d on pci bus 0\n",
pci_int_type[0]);
- if (!badaddr((void *)&t2_csr[1]->tlbbr, sizeof(long))) {
+ if (!badaddr(__DEVOLATILE(void *, &t2_csr[1]->tlbbr), sizeof(long))) {
pci_int_type[1] = 1; /* PCI1 always uses the new scheme */
/* Clear any errors that the BADADDR probe may have caused */
t2_csr[1]->cerr1 |= t2_csr[1]->cerr1;
OpenPOWER on IntegriCloud