diff options
author | bde <bde@FreeBSD.org> | 1997-11-10 15:46:33 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-11-10 15:46:33 +0000 |
commit | 53af1df4e61b5911f54909c98c2542da81e8479e (patch) | |
tree | 23ebc406e2ce30ed09d6e7ac083f275e2292962b /sys/dev/cy | |
parent | cddcd93a80fea72732706bb49d8c86497a9a30d4 (diff) | |
download | FreeBSD-src-53af1df4e61b5911f54909c98c2542da81e8479e.zip FreeBSD-src-53af1df4e61b5911f54909c98c2542da81e8479e.tar.gz |
Fixed chip_offsets[] which I broke in rev.1.53. The offsets aren't
actually offsets, they are offsets scaled by dividing by 2^cy_align.
I use different values for cy_align since the -current values are
unnaturally scaled, so I need different offsets, and the wrong
offsets got committed.
Reported by: nnd@itfs.nsk.su (N.Dudorov)
Diffstat (limited to 'sys/dev/cy')
-rw-r--r-- | sys/dev/cy/cy.c | 4 | ||||
-rw-r--r-- | sys/dev/cy/cy_isa.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c index 0ba554c..5f17800 100644 --- a/sys/dev/cy/cy.c +++ b/sys/dev/cy/cy.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.54 1997/09/14 03:19:08 peter Exp $ + * $Id: cy.c,v 1.55 1997/09/21 21:40:57 gibbs Exp $ */ #include "cy.h" @@ -410,7 +410,7 @@ static u_int cy_timeouts; #endif static int cy_chip_offset[] = { - 0x0000, 0x0200, 0x0400, 0x0600, 0x0100, 0x0300, 0x0500, 0x0700, + 0x0000, 0x0400, 0x0800, 0x0c00, 0x0200, 0x0600, 0x0a00, 0x0e00, }; static int cy_nr_cd1400s[NCY]; static int cy_total_devices; diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c index 0ba554c..5f17800 100644 --- a/sys/dev/cy/cy_isa.c +++ b/sys/dev/cy/cy_isa.c @@ -27,7 +27,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: cy.c,v 1.54 1997/09/14 03:19:08 peter Exp $ + * $Id: cy.c,v 1.55 1997/09/21 21:40:57 gibbs Exp $ */ #include "cy.h" @@ -410,7 +410,7 @@ static u_int cy_timeouts; #endif static int cy_chip_offset[] = { - 0x0000, 0x0200, 0x0400, 0x0600, 0x0100, 0x0300, 0x0500, 0x0700, + 0x0000, 0x0400, 0x0800, 0x0c00, 0x0200, 0x0600, 0x0a00, 0x0e00, }; static int cy_nr_cd1400s[NCY]; static int cy_total_devices; |