diff options
author | ps <ps@FreeBSD.org> | 2005-08-09 20:53:51 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2005-08-09 20:53:51 +0000 |
commit | 66d9331654cf93e197948a2612dc54955b151651 (patch) | |
tree | 1232dc9f9f4eb29a263aa979a8eabf9bdbbe68f2 /sys/dev | |
parent | 693479e03f1711525db4d8009d23e685b7b0b61c (diff) | |
download | FreeBSD-src-66d9331654cf93e197948a2612dc54955b151651.zip FreeBSD-src-66d9331654cf93e197948a2612dc54955b151651.tar.gz |
There's no reason to check the valence. This allows ciss to work
on the P600.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ciss/ciss.c | 6 | ||||
-rw-r--r-- | sys/dev/ciss/cissreg.h | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 62d296c..676c56d 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -597,12 +597,6 @@ ciss_init_pci(struct ciss_softc *sc) sc->ciss_cfg->signature[2], sc->ciss_cfg->signature[3]); return(ENXIO); } - if ((sc->ciss_cfg->valence < CISS_MIN_VALENCE) || - (sc->ciss_cfg->valence > CISS_MAX_VALENCE)) { - ciss_printf(sc, "adapter interface specification (%d) unsupported\n", - sc->ciss_cfg->valence); - return(ENXIO); - } /* * Put the board into simple mode, and tell it we're using the low diff --git a/sys/dev/ciss/cissreg.h b/sys/dev/ciss/cissreg.h index 65fad48..16af7bc 100644 --- a/sys/dev/ciss/cissreg.h +++ b/sys/dev/ciss/cissreg.h @@ -396,8 +396,6 @@ struct ciss_config_table { char signature[4]; /* "CISS" */ u_int32_t valence; -#define CISS_MIN_VALENCE 1 /* only value currently supported */ -#define CISS_MAX_VALENCE 1 u_int32_t supported_methods; #define CISS_TRANSPORT_METHOD_READY (1<<0) #define CISS_TRANSPORT_METHOD_SIMPLE (1<<1) |