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/pci Pull up revision 1.17 (requested by hubertf...
details: https://anonhg.NetBSD.org/src/rev/b3f4e51b1a9f
branches: netbsd-1-6
changeset: 530388:b3f4e51b1a9f
user: grant <grant%NetBSD.org@localhost>
date: Thu Jun 19 14:12:03 2003 +0000
description:
Pull up revision 1.17 (requested by hubertf in ticket #1322):
Disable ISA DMA emulation for SoundBlaster module explicitly.
This fixes the floppy access problem on some hardware.
Problem reported by Miroslav Kure via Jason Wright <jason [at]
thought [dot] net> of OpenBSD. Thanks.
Fix from ALSA driver; although this setting is undocumented but
according to Jaroslav Kysela <perex [at] suse [dot] cz> of ALSA,
there's no error reported so far.
diffstat:
sys/dev/pci/yds.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c4565fb864fe -r b3f4e51b1a9f sys/dev/pci/yds.c
--- a/sys/dev/pci/yds.c Thu Jun 19 11:41:59 2003 +0000
+++ b/sys/dev/pci/yds.c Thu Jun 19 14:12:03 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: yds.c,v 1.11 2002/01/10 10:17:55 someya Exp $ */
+/* $NetBSD: yds.c,v 1.11.10.1 2003/06/19 14:12:03 grant Exp $ */
/*
* Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.11 2002/01/10 10:17:55 someya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: yds.c,v 1.11.10.1 2003/06/19 14:12:03 grant Exp $");
#include "mpu.h"
@@ -566,6 +566,7 @@
reg |= ((YDS_PCI_EX_LEGACY_IMOD) |
(YDS_PCI_LEGACY_FMEN |
YDS_PCI_LEGACY_MEN /*| YDS_PCI_LEGACY_MIEN*/));
+ reg |= YDS_PCI_EX_LEGACY_SMOD_DISABLE;
if (FLEXIBLE) {
pci_conf_write(sc->sc_pc, sc->sc_pcitag, YDS_PCI_LEGACY, reg);
delay(100*1000);
Home |
Main Index |
Thread Index |
Old Index