mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bandaid type coercion for ia64
Submitted by: marcel
This commit is contained in:
parent
68e98586eb
commit
465c8d6787
1 changed files with 2 additions and 2 deletions
|
|
@ -148,8 +148,8 @@ ath_pci_attach(device_t dev)
|
|||
device_printf(dev, "cannot map register space\n");
|
||||
goto bad;
|
||||
}
|
||||
/* NB: these casts are known to be safe */
|
||||
sc->sc_st = (HAL_BUS_TAG) rman_get_bustag(psc->sc_sr);
|
||||
/* XXX uintptr_t is a bandaid for ia64; to be fixed */
|
||||
sc->sc_st = (HAL_BUS_TAG)(uintptr_t) rman_get_bustag(psc->sc_sr);
|
||||
sc->sc_sh = (HAL_BUS_HANDLE) rman_get_bushandle(psc->sc_sr);
|
||||
/*
|
||||
* Mark device invalid so any interrupts (shared or otherwise)
|
||||
|
|
|
|||
Loading…
Reference in a new issue