mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Fix some more long -> rman_res_t
Reported by: Michael Butler (siis breakage)
This commit is contained in:
parent
96e29c261d
commit
d8d7c6b11e
3 changed files with 3 additions and 3 deletions
|
|
@ -396,7 +396,7 @@ mvs_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
|||
int unit = ((struct mvs_channel *)device_get_softc(child))->unit;
|
||||
struct resource *res = NULL;
|
||||
int offset = HC_BASE(unit >> 2) + PORT_BASE(unit & 0x03);
|
||||
long st;
|
||||
rman_res_t st;
|
||||
|
||||
switch (type) {
|
||||
case SYS_RES_MEMORY:
|
||||
|
|
|
|||
|
|
@ -342,7 +342,7 @@ mvs_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
|||
int unit = ((struct mvs_channel *)device_get_softc(child))->unit;
|
||||
struct resource *res = NULL;
|
||||
int offset = PORT_BASE(unit & 0x03);
|
||||
long st;
|
||||
rman_res_t st;
|
||||
|
||||
switch (type) {
|
||||
case SYS_RES_MEMORY:
|
||||
|
|
|
|||
|
|
@ -320,7 +320,7 @@ siis_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
|||
int unit = ((struct siis_channel *)device_get_softc(child))->unit;
|
||||
struct resource *res = NULL;
|
||||
int offset = unit << 13;
|
||||
long st;
|
||||
rman_res_t st;
|
||||
|
||||
switch (type) {
|
||||
case SYS_RES_MEMORY:
|
||||
|
|
|
|||
Loading…
Reference in a new issue