1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-29 08:08:37 +00:00

shut up the compiler

This commit is contained in:
Andrew Gallatin 2002-03-21 18:48:00 +00:00
parent 84c63a156a
commit ddf23aa842
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92888

View File

@ -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;