[bhnd] handle unknown bhnd port type.
This commit is contained in:
parent
3b0750141a
commit
0aba90e3bc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299133
@ -187,6 +187,11 @@ siba_dinfo_get_port(struct siba_devinfo *dinfo, bhnd_port_type port_type,
|
|||||||
return (NULL);
|
return (NULL);
|
||||||
case BHND_PORT_AGENT:
|
case BHND_PORT_AGENT:
|
||||||
return (NULL);
|
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);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user