[bhnd] handle unknown bhnd port type.
This commit is contained in:
parent
3b0750141a
commit
0aba90e3bc
@ -187,6 +187,11 @@ siba_dinfo_get_port(struct siba_devinfo *dinfo, bhnd_port_type port_type,
|
||||
return (NULL);
|
||||
case BHND_PORT_AGENT:
|
||||
return (NULL);
|
||||
default:
|
||||
printf("%s: unknown port_type (%d)\n",
|
||||
__func__,
|
||||
port_type);
|
||||
return (NULL);
|
||||
}
|
||||
}
|
||||
|
||||
@ -369,4 +374,4 @@ siba_parse_admatch(uint32_t am, uint32_t *addr, uint32_t *size)
|
||||
}
|
||||
|
||||
return (0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user