From: "Georg Nikodym" <georgn@somanetworks.com>
To: linux-kernel@vger.kernel.org, maestro-users@zabbo.net
Subject: patch for maestro 2e
Date: Mon, 13 Nov 2000 21:01:29 -0500 (EST) [thread overview]
Message-ID: <14864.40185.823180.424412@somanetworks.com> (raw)
I found that the maestro 2E sound hardware didn't want to make noise
for me under 2.4. Today I got itchy and scratched. Here's a patch:
(keller) 1021$ bk diffs -u drivers/sound/maestro.c
===== drivers/sound/maestro.c 1.11 vs edited =====
--- 1.11/drivers/sound/maestro.c Tue Aug 29 10:09:15 2000
+++ edited/drivers/sound/maestro.c Mon Nov 13 20:53:01 2000
@@ -3390,6 +3390,19 @@
ess = &card->channels[0];
+ if (pci_enable_device(pcidev)) {
+ printk (KERN_ERR "maestro: pci_enable_device() failed\n");
+ for (i = 0; i < NR_DSPS; i++) {
+ struct ess_state *s = &card->channels[i];
+ if (s->dev_audio != -1)
+ unregister_sound_dsp(s->dev_audio);
+ }
+ release_region(card->iobase, 256);
+ unregister_reboot_notifier(&maestro_nb);
+ kfree(card);
+ return 0;
+ }
+
/*
* Ok card ready. Begin setup proper
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-11-14 15:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=14864.40185.823180.424412@somanetworks.com \
--to=georgn@somanetworks.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maestro-users@zabbo.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).