public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrey Panin <pazke@orbita1.ru>
To: Jerome Cornet <jerome.cornet@alcatel.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] SB driver, kernel 2.4.10
Date: Wed, 3 Oct 2001 10:34:45 +0400	[thread overview]
Message-ID: <20011003103445.A20534@orbita1.ru> (raw)
In-Reply-To: <iss.5826.3bba3705.d9786.1@kanata-mh1.ca.newbridge.com>
In-Reply-To: <iss.5826.3bba3705.d9786.1@kanata-mh1.ca.newbridge.com>; from jerome.cornet@alcatel.com on Tue, Oct 02, 2001 at 05:52:05PM -0400


[-- Attachment #1.1: Type: text/plain, Size: 942 bytes --]

On Tue, Oct 02, 2001 at 05:52:05PM -0400, Jerome Cornet wrote:

>     Hi there,
> 
> The PnP initialisation of my brand old SB AWE64 PnP was not supported by the 
> current (2.4.10) kernel driver (I could initialise it by using isapnptools, 
> but not directly by the pnp driver).
> 
> I patched sb_card.c so that the device ID of my board is known by the SB 
> driver, thus allowing the isapnp initialisation by the driver directly.
> 
> I tested it on my computer, and I don't expect the patch to break anything 
> (it's a no brainer fix)
> 
> Maybe you can consider applying it to the next release ?
> 
> Thank you,
>  /Jerome
> 
> PS: please CC: me for the replies, I'm not subscribed to linux-kernel

Device ID should be added to id_table[] also. New patch attached.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc

[-- Attachment #1.2: linux-2.4.10-awe64-full.patch --]
[-- Type: text/plain, Size: 1256 bytes --]

diff -urN linux.vanilla/drivers/sound/sb_card.c linux/drivers/sound/sb_card.c
--- linux.vanilla/drivers/sound/sb_card.c	Wed Oct  3 10:05:56 2001
+++ linux/drivers/sound/sb_card.c	Wed Oct  3 10:11:40 2001
@@ -53,6 +53,9 @@
  *
  * 28-10-2000 Added pnplegacy support
  * 	Daniel Church <dchurch@mbhs.edu>
+ *
+ * 01-10-2001 Added a new flavor of Creative SB AWE64 PnP (CTL00E9).
+ *      Jerome Cornet <jcornet@free.fr>
  */
 
 #include <linux/config.h>
@@ -423,6 +426,11 @@
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045),
 		0,0,0,0,
 		0,1,1,-1},
+	{"Sound Blaster AWE 64",
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x00E9), 
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045),
+		0,0,0,0,
+		0,1,1,-1},
 	{"ESS 1688",
 		ISAPNP_VENDOR('E','S','S'), ISAPNP_DEVICE(0x0968), 
 		ISAPNP_VENDOR('E','S','S'), ISAPNP_FUNCTION(0x0968),
@@ -604,6 +612,9 @@
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045), 0 },
 
 	{	ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x00E4), 
+		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045), 0 },
+
+	{	ISAPNP_VENDOR('C','T','L'), ISAPNP_DEVICE(0x00E9),
 		ISAPNP_VENDOR('C','T','L'), ISAPNP_FUNCTION(0x0045), 0 },
 
 	{	ISAPNP_VENDOR('E','S','S'), ISAPNP_DEVICE(0x0968), 

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

      reply	other threads:[~2001-10-03  6:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 21:52 [PATCH] SB driver, kernel 2.4.10 Jerome Cornet
2001-10-03  6:34 ` Andrey Panin [this message]

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=20011003103445.A20534@orbita1.ru \
    --to=pazke@orbita1.ru \
    --cc=jerome.cornet@alcatel.com \
    --cc=linux-kernel@vger.kernel.org \
    /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