Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src/sys/dev/ic Pull up revision 1.132 (requested by bouyer ...
details: https://anonhg.NetBSD.org/src/rev/d05e44083eaf
branches: netbsd-1-6
changeset: 530743:d05e44083eaf
user: tron <tron%NetBSD.org@localhost>
date: Wed Sep 24 11:16:43 2003 +0000
description:
Pull up revision 1.132 (requested by bouyer in ticket #1481):
Fix a typo that prevented pre-ata drives from working since 1999.
diffstat:
sys/dev/ic/wdc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ca1d5e47349f -r d05e44083eaf sys/dev/ic/wdc.c
--- a/sys/dev/ic/wdc.c Wed Sep 24 11:10:37 2003 +0000
+++ b/sys/dev/ic/wdc.c Wed Sep 24 11:16:43 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdc.c,v 1.114.4.2 2002/11/01 16:26:23 tron Exp $ */
+/* $NetBSD: wdc.c,v 1.114.4.3 2003/09/24 11:16:43 tron Exp $ */
/*
@@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.114.4.2 2002/11/01 16:26:23 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdc.c,v 1.114.4.3 2003/09/24 11:16:43 tron Exp $");
#ifndef WDCDEBUG
#define WDCDEBUG
@@ -391,7 +391,7 @@
bus_space_write_1(chp->cmd_iot, chp->cmd_ioh,
wd_cyl_lo, 0xa5);
if (bus_space_read_1(chp->cmd_iot, chp->cmd_ioh,
- wd_error == 0x58) ||
+ wd_error) == 0x58 ||
bus_space_read_1(chp->cmd_iot, chp->cmd_ioh,
wd_cyl_lo) != 0xa5) {
WDCDEBUG_PRINT(("%s:%d:%d: register "
Home |
Main Index |
Thread Index |
Old Index