1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Fix some more long -> rman_res_t

Reported by:	Michael Butler (siis breakage)
This commit is contained in:
Justin Hibbits 2016-03-21 22:19:53 +00:00
parent 96e29c261d
commit d8d7c6b11e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297170
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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