Date: Mon, 13 Oct 2003 09:47:45 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Mark Santcroos <marks@ripe.net> Cc: current@freebsd.org Subject: Re: cvs commit: src/sys/dev/sound/pci ich.c Message-ID: <20031013094449.W28158@root.org> In-Reply-To: <20031013124917.GA889@laptop.6bone.nl> References: <200309152116.h8FLGld2085395@repoman.freebsd.org> <20031013124917.GA889@laptop.6bone.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 13 Oct 2003, Mark Santcroos wrote: > On Mon, Sep 15, 2003 at 02:16:47PM -0700, Nate Lawson wrote: > > njl 2003/09/15 14:16:47 PDT > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/sound/pci ich.c > > Log: > > Correctly reset ich[3-5] sound cards on resume. This fixes audio playback > > after suspend/resume for me. > > > > Submitted by: iwasaki > > Reviewed by: orion > > Approved by: cg > > Hi Nate, > > Sorry for the late reply, this breaks resuming from S4BIOS on my Latitude > C640. > > In message <20030609035127.GA36909@laptop.6bone.nl> to current@ in June I > posted my fix. I just tried to find your message through the web search interface. No such luck. (Speaking of which, the mailing list search interface is HORRIBLE. It only seems to check the first word entered.) > While it was not very clean, it worked: > > # set nambar > pciconf -w -b pci0:31:5 0x11 0xd8 > # set nabmbar: > pciconf -w -b pci0:31:5 0x14 0x81 > pciconf -w -b pci0:31:5 0x15 0xdc > # set pcicmd: > pciconf -w -b pci0:31:5 0x4 0x5 > > I also did the same thing at resume in ich.c, don't have the patch at hand > right now, but you get the idea. > > It would be nice if we could get your changes also to work on my system. It looks like you are resetting the BARs on resume. If that's all that's needed, I believe Warner was working on code to do this in the general case. -Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031013094449.W28158>