/[gentoo-alt]/trunk/sys-kernel/freebsd-sources/files/ich-sound.patch
Gentoo

Contents of /trunk/sys-kernel/freebsd-sources/files/ich-sound.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 28 - (show annotations) (download)
Wed Sep 15 21:02:07 2004 UTC (9 years, 7 months ago) by angusyoung
File size: 595 byte(s)
Initial Release

1 --- ich.c.orig Sun Aug 29 22:08:32 2004
2 +++ ich.c Sun Aug 29 22:13:20 2004
3 @@ -691,6 +691,10 @@
4 sc->swap_reg = 0;
5 sc->sample_size = 2;
6 }
7 +
8 + if (pci_get_devid(dev) == ICH4ID) {
9 + pci_write_config(dev, PCIR_ICH_LEGACY, ICH_LEGACY_ENABLE, 1);
10 + }
11
12 /*
13 * Enable bus master. On ich4/5 this may prevent the detection of
14 @@ -698,7 +702,7 @@
15 */
16 pci_enable_busmaster(dev);
17
18 - if ((pci_get_devid(dev) == ICH4ID) || (pci_get_devid(dev) == ICH5ID)) {
19 + if ((pci_get_devid(dev) == ICH5ID)) {
20 sc->nambarid = PCIR_MMBAR;
21 sc->nabmbarid = PCIR_MBBAR;
22 sc->regtype = SYS_RES_MEMORY;

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20