version 1.83.8.3, 2012/10/30 17:22:01 |
version 1.83.8.4, 2014/05/22 11:40:35 |
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) |