From: Fedor Karpelevitch <fedor@karpelevitch.net>
To: "Mark F." <daracerz@hotmail.com>, linux-kernel@vger.kernel.org
Cc: Marcelo Tosatti <marcelo@conectiva.com.br>,
Vicente Aguilar <bisente@bisente.com>
Subject: Re: ATI Radeon IGP 320M and Kern. 2.4.21-pre2 Warnings/Problems...
Date: Mon, 23 Dec 2002 06:52:45 -0800 [thread overview]
Message-ID: <200212230652.45451.fedor@karpelevitch.net> (raw)
In-Reply-To: <BAY2-F160dWMJ69ik6k0000047c@hotmail.com>
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
Mark F. wrote:
> Hello
>
> In trying to help out the issue with the Radeon IGP Chipsets, I
> have posted out the problems that occured on my system. This is a
> Readon IGP 320M chip, running on a Compaq 900Z. BTW, these logs
> don't include loading sound driver. Sound driver cause the my hda,
> hdc links to timeout, and the hard drives are completely
> inaccesable till i remake kernel without them.
>
attached is the patch which makes sound work.
Fedor.
[-- Attachment #2: patch-tridfix.txt --]
[-- Type: text/plain, Size: 1467 bytes --]
--- linux-2.4.21-pre1/drivers/sound/trident.c 2002-12-12 15:28:00.000000000 -0800
+++ linux-2.4.21-pre1-tridfix/drivers/sound/trident.c 2002-12-12 15:30:48.000000000 -0800
@@ -3368,15 +3368,17 @@
pci_dev = pci_find_device(PCI_VENDOR_ID_AL,PCI_DEVICE_ID_AL_M1533, pci_dev);
if (pci_dev == NULL)
return -1;
- temp = 0x80;
- pci_write_config_byte(pci_dev, 0x59, ~temp);
+ pci_read_config_byte(pci_dev, 0x59, &temp);
+ temp &= ~0x80;
+ pci_write_config_byte(pci_dev, 0x59, temp);
pci_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, pci_dev);
if (pci_dev == NULL)
return -1;
- temp = 0x20;
- pci_write_config_byte(pci_dev, 0xB8, ~temp);
+ pci_read_config_byte(pci_dev, 0xB8, &temp);
+ temp &= ~0x20;
+ pci_write_config_byte(pci_dev, 0xB8, temp);
return 0;
}
@@ -3390,13 +3392,15 @@
pci_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, pci_dev);
if (pci_dev == NULL)
return -1;
- temp = 0x80;
+ pci_read_config_byte(pci_dev, 0x59, &temp);
+ temp |= 0x80;
pci_write_config_byte(pci_dev, 0x59, temp);
pci_dev = pci_find_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M7101, pci_dev);
if (pci_dev == NULL)
return -1;
- temp = 0x20;
+ pci_read_config_byte(pci_dev, (int)0xB8, &temp);
+ temp |= 0x20;
pci_write_config_byte(pci_dev, (int)0xB8,(u8) temp);
if (chan_nums == 6) {
dwValue = inl(TRID_REG(card, ALI_SCTRL)) | 0x000f0000;
next prev parent reply other threads:[~2002-12-23 15:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-23 3:40 ATI Radeon IGP 320M and Kern. 2.4.21-pre2 Warnings/Problems Mark F.
2002-12-23 14:52 ` Fedor Karpelevitch [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-23 15:46 Roel Teuwen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200212230652.45451.fedor@karpelevitch.net \
--to=fedor@karpelevitch.net \
--cc=bisente@bisente.com \
--cc=daracerz@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.