esm_get_devmap
int esm_get_devmap(struct esm_softc *, int, struct esm_devmap *);
if (esm_get_devmap(sc, i, &devmap) != 0)