Hi:

I found that every time I run a 2.4 on my laptop, APM locks up
the machine. Apparently, legacy YMF code enabled decoding of
10 bits of I/O address. A call to APM BIOS touched that and
somehow the system locked up.

If Pavel Roskin, Daisuke Nagano or someone else do not mind,
I want this in stock kernel.

-- Pete

--- linux-2.4.4/drivers/sound/ymfpci.c  Thu Apr 26 22:17:27 2001
+++ linux-2.4.4-niph/drivers/sound/ymfpci.c     Tue May  8 16:46:58 2001
@@ -2059,9 +2059,10 @@
        }
 
        if (mpuio >= 0 || oplio >= 0) {
-               v = 0x003e;
+               /* 0x0020: 1 - 10 bits of I/O address decoded, 0 - 16 bits. */
+               v = 0x001e;
                pci_write_config_word(pcidev, PCIR_LEGCTRL, v);
-       
+
                switch (pcidev->device) {
                case PCI_DEVICE_ID_YAMAHA_724:
                case PCI_DEVICE_ID_YAMAHA_740:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to