apix_get_max_dev_inum
if (inum == apix_get_max_dev_inum(dip, type)) {
extern int apix_get_max_dev_inum(dev_info_t *dip, int type);