devclass_get_maxunit9
Find the maximum unit number in the class
Usage
#include <sys/param.h>
#include <sys/bus.h>
int
devclass_get_maxunit(devclass_t dc);
Overview
Returns the next unit number to be allocated to device instances in the devclass. This is one greater than the highest currently allocated unit.