summaryrefslogtreecommitdiff
path: root/sys/dev/hifn
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2003-12-25 01:23:38 +0000
committerSam Leffler <sam@FreeBSD.org>2003-12-25 01:23:38 +0000
commita2bf609dd88b6f56b862d98dfa4d904e736f12d2 (patch)
treee8f093b5dd1a8b41bce85b85216f93dff60a6455 /sys/dev/hifn
parent8dee2f67465ce7469745893df4b2c5b557117737 (diff)
Notes
Diffstat (limited to 'sys/dev/hifn')
-rw-r--r--sys/dev/hifn/hifn7751.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c
index 9519cd2a8024..8c5bec5825e1 100644
--- a/sys/dev/hifn/hifn7751.c
+++ b/sys/dev/hifn/hifn7751.c
@@ -386,10 +386,10 @@ hifn_attach(device_t dev)
sc->sc_dma = (struct hifn_dma *)kva;
bzero(sc->sc_dma, sizeof(*sc->sc_dma));
- KASSERT(sc->sc_st0 != NULL, ("hifn_attach: null bar0 tag!"));
- KASSERT(sc->sc_sh0 != NULL, ("hifn_attach: null bar0 handle!"));
- KASSERT(sc->sc_st1 != NULL, ("hifn_attach: null bar1 tag!"));
- KASSERT(sc->sc_sh1 != NULL, ("hifn_attach: null bar1 handle!"));
+ KASSERT(sc->sc_st0 != 0, ("hifn_attach: null bar0 tag!"));
+ KASSERT(sc->sc_sh0 != 0, ("hifn_attach: null bar0 handle!"));
+ KASSERT(sc->sc_st1 != 0, ("hifn_attach: null bar1 tag!"));
+ KASSERT(sc->sc_sh1 != 0, ("hifn_attach: null bar1 handle!"));
/*
* Reset the board and do the ``secret handshake''