aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1997-12-19 02:25:51 +0000
committerJohn Dyson <dyson@FreeBSD.org>1997-12-19 02:25:51 +0000
commita5f4cd56232f75e50eabf5b1f5123f6b88fcdb99 (patch)
tree4f7350ffa7a2010bd3ee86478a8d4eefb0c24bf9
parent8cd077a7fd89954de2e5a150b6e78b40cecd221f (diff)
Notes
-rw-r--r--sys/pci/ide_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c
index 0045b8b1f532d..c8af856614583 100644
--- a/sys/pci/ide_pci.c
+++ b/sys/pci/ide_pci.c
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ide_pci.c,v 1.4 1997/09/20 07:41:55 dyson Exp $
+ * $Id: ide_pci.c,v 1.5 1997/11/07 08:53:27 phk Exp $
*/
#include "pci.h"
@@ -714,7 +714,7 @@ intel_piix_dmainit(struct ide_pci_cookie *cookie,
u_long word40;
/* can drive do PIO 4 and MW DMA 2? */
- if (!(mwdma_mode(wp) >= 4 && pio_mode(wp) >= 4))
+ if (!(mwdma_mode(wp) >= 2 && pio_mode(wp) >= 4))
return 0;
word40 = pci_conf_read(cookie->tag, 0x40);