version 1.86, 2012/06/24 07:48:01 |
version 1.87, 2014/03/05 08:45:13 |
Line 231 atapi_probe_bus(struct atapibus_softc *s |
|
Line 231 atapi_probe_bus(struct atapibus_softc *s |
|
int error; |
int error; |
struct atapi_adapter *atapi_adapter; |
struct atapi_adapter *atapi_adapter; |
|
|
|
KASSERT(chan->chan_ntargets >= 1); |
|
|
if (target == -1) { |
if (target == -1) { |
maxtarget = 1; |
maxtarget = chan->chan_ntargets - 1; |
mintarget = 0; |
mintarget = 0; |
} else { |
} else { |
if (target < 0 || target >= chan->chan_ntargets) |
if (target < 0 || target >= chan->chan_ntargets) |