aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/cy.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-11-10 15:46:33 +0000
committerBruce Evans <bde@FreeBSD.org>1997-11-10 15:46:33 +0000
commit326b780b041b934e7150da1ac82d21d00e39a288 (patch)
treedc147ad9c4c615d6af30501fdf63bc9893bdf3f0 /sys/i386/isa/cy.c
parentaaa7085e4b1348aa1cbb0e423e7fd7757d4394e7 (diff)
downloadsrc-326b780b041b934e7150da1ac82d21d00e39a288.tar.gz
src-326b780b041b934e7150da1ac82d21d00e39a288.zip
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)
Notes
Notes: svn path=/head/; revision=31104
Diffstat (limited to 'sys/i386/isa/cy.c')
-rw-r--r--sys/i386/isa/cy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/cy.c b/sys/i386/isa/cy.c
index 0ba554c29885..5f178008d6ae 100644
--- a/sys/i386/isa/cy.c
+++ b/sys/i386/isa/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;