summaryrefslogtreecommitdiff
path: root/sys/dev/mly
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2002-04-17 13:06:36 +0000
committerMaxime Henrion <mux@FreeBSD.org>2002-04-17 13:06:36 +0000
commitd786139c76ad8d7cd25f962f7e67d4af98685418 (patch)
treecb447f9f2a04a764ece9fcefc6fa6b52d19870b8 /sys/dev/mly
parentfd448168b76dbe56823963e1d17872d0673e13ca (diff)
Notes
Diffstat (limited to 'sys/dev/mly')
-rw-r--r--sys/dev/mly/mly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c
index e7b7a5c83379..d38a64f2bfc9 100644
--- a/sys/dev/mly/mly.c
+++ b/sys/dev/mly/mly.c
@@ -1927,7 +1927,7 @@ mly_cam_attach(struct mly_softc *sc)
* If physical channel registration has been requested, register these first.
* Note that we enable tagged command queueing for physical channels.
*/
- if (getenv("hw.mly.register_physical_channels") != NULL) {
+ if (testenv("hw.mly.register_physical_channels")) {
chn = 0;
for (i = 0; i < sc->mly_controllerinfo->physical_channels_present; i++, chn++) {