version 1.17, 2014/06/02 07:51:25 |
version 1.18, 2015/09/05 11:19:20 |
|
|
} |
} |
|
|
/* |
/* |
* find a xfree controller slot with the same name/unit |
* find a free controller slot with the same name/unit |
*/ |
*/ |
for (i = 0, s = d->slot; i < DEV_NSLOT; i++, s++) { |
for (i = 0, s = d->slot; i < DEV_NSLOT; i++, s++) { |
if (s->ops == NULL && |
if (s->ops == NULL && |
|
|
} |
} |
|
|
/* |
/* |
* couldn't find a matching slot, pick oldest xfree slot |
* couldn't find a matching slot, pick oldest free slot |
* and set its name/unit |
* and set its name/unit |
*/ |
*/ |
bestser = 0; |
bestser = 0; |