summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/cy.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-11-10 15:46:33 +0000
committerbde <bde@FreeBSD.org>1997-11-10 15:46:33 +0000
commit53af1df4e61b5911f54909c98c2542da81e8479e (patch)
tree23ebc406e2ce30ed09d6e7ac083f275e2292962b /sys/i386/isa/cy.c
parentcddcd93a80fea72732706bb49d8c86497a9a30d4 (diff)
downloadFreeBSD-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/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 0ba554c..5f17800 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;
OpenPOWER on IntegriCloud