Lines 1722-1728
Link Here
|
1722 |
resource_int_value(dl->driver->name, child->unit, |
1722 |
resource_int_value(dl->driver->name, child->unit, |
1723 |
"flags", &child->devflags); |
1723 |
"flags", &child->devflags); |
1724 |
|
1724 |
|
1725 |
result = DEVICE_PROBE(child); |
1725 |
if (resource_disabled(dl->driver->name, child->unit)) |
|
|
1726 |
result = ENXIO; |
1727 |
else |
1728 |
result = DEVICE_PROBE(child); |
1726 |
|
1729 |
|
1727 |
/* Reset flags and devclass before the next probe. */ |
1730 |
/* Reset flags and devclass before the next probe. */ |
1728 |
child->devflags = 0; |
1731 |
child->devflags = 0; |
Lines 1805-1811
Link Here
|
1805 |
* A bit bogus. Call the probe method again to make |
1808 |
* A bit bogus. Call the probe method again to make |
1806 |
* sure that we have the right description. |
1809 |
* sure that we have the right description. |
1807 |
*/ |
1810 |
*/ |
1808 |
DEVICE_PROBE(child); |
1811 |
if (!resource_disabled(best->driver->name, child->unit)) |
|
|
1812 |
DEVICE_PROBE(child); |
1809 |
#if 0 |
1813 |
#if 0 |
1810 |
child->flags |= DF_REBID; |
1814 |
child->flags |= DF_REBID; |
1811 |
#endif |
1815 |
#endif |