summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/si.c
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-06-13 19:36:22 +0000
committersteve <steve@FreeBSD.org>1998-06-13 19:36:22 +0000
commit84ee66217aaf229f2db221388ca5b4bb44a24eb2 (patch)
tree1b79608a19b185718dc573983c493920d9f645c3 /sys/i386/isa/si.c
parentc5ae8ade3e00a9510b830e56a8656f13922b8eb5 (diff)
downloadFreeBSD-src-84ee66217aaf229f2db221388ca5b4bb44a24eb2.zip
FreeBSD-src-84ee66217aaf229f2db221388ca5b4bb44a24eb2.tar.gz
Add a macro tweak.
PR: 6932 Submitted by: Nick Sayer <nsayer@quack.kfu.com>
Diffstat (limited to 'sys/i386/isa/si.c')
-rw-r--r--sys/i386/isa/si.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c
index 2d5d6a3..96c555b 100644
--- a/sys/i386/isa/si.c
+++ b/sys/i386/isa/si.c
@@ -30,7 +30,7 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
* NO EVENT SHALL THE AUTHORS BE LIABLE.
*
- * $Id: si.c,v 1.71 1998/06/07 17:10:56 dfr Exp $
+ * $Id: si.c,v 1.72 1998/06/10 12:49:54 phk Exp $
*/
#ifndef lint
@@ -793,7 +793,7 @@ siattach(id)
/* OK, now lets download the download code */
- if ((sc->sc_type == SIJETISA) || (sc->sc_type == SIJETPCI)) {
+ if (SI_ISJET(sc->sc_type)) {
DPRINT((0, DBG_DOWNLOAD, "si%d: jet_download: nbytes %d\n",
id->id_unit, si3_t225_dsize));
si_bcopy(si3_t225_download, maddr + si3_t225_downloadaddr,
@@ -889,7 +889,7 @@ siattach(id)
sc->sc_type = SIEMPTY;
return 0;
case 1:
- if ((sc->sc_type == SIJETISA) || (sc->sc_type == SIJETPCI)) {
+ if (SI_ISJET(sc->sc_type)) {
/* set throttle to 100 times per second */
regp->int_count = JET_INT_COUNT;
/* rx_intr_count is a NOP in Jet */
OpenPOWER on IntegriCloud