get_media_options
options = get_media_options(IFM_TYPE(ifmr->ifm_ulist[0]), val);
static int get_media_options(int, const char *);