version 1.1, 2008/08/08 13:37:11 |
version 1.2, 2008/08/12 12:30:52 |
|
|
hedrvp = config_find_driver(atp->at_helpername); |
hedrvp = config_find_driver(atp->at_helpername); |
|
|
/* match helper */ |
/* match helper */ |
if (hedrvp->dr_match != NULL && hedrvp->dr_match(parent, parent->dv_data) < 1) |
if (hedrvp->dr_match != NULL && hedrvp->dr_match(parent, aux) < 1) |
break; /* not matched */ |
break; /* not matched */ |
} |
} |
|
|
/* match device */ |
/* match device */ |
if (chdrvp->dr_match != NULL && chdrvp->dr_match(parent, parent->dv_data) < 1) |
if (chdrvp->dr_match != NULL && chdrvp->dr_match(parent, aux) < 1) |
break; /* not matched */ |
break; /* not matched */ |
|
|
/* allocate device */ |
/* allocate device */ |