Bug 117813

Summary: [patch] make "snd_atiixp.ko" work on a KINO690S1 Mainboard
Product: Base System Reporter: Klaus Mayr <webmaster>
Component: kernAssignee: Ariff Abdullah <ariff>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Klaus Mayr 2007-11-04 14:30:02 UTC
Makes "snd_atiixp.ko" work on a KINO690S1 Mainboard which has the ATI SB600 chipset with a ALC655 AC97-compatible soundchip. :-)

Board description: http://www.ipc2u.de/catalog/P/PE/36486.html.

Using "kldload snd_driver" did not work to find any multimedia drivers for
the chipset. The board has the ATI SB600 as south bridge, which may be hndled with the snd_hda driver, but as mentioned in the board description only uses an ac97 compatible codec. The command "pciconf -lv" returns an "ATI IXP SB600 ..." audio controller, but the snd_atiixp driver did not work/load.

So i did the modifications below. :-)

Fix: 

I added the following lines to the atiixp.* files in /usr/src/sys/dev/sound/pci

******************************************************************************

+++ atiixp.c	2007-11-04 15:36:13.000000000 +0100
@@ -170,6 +170,7 @@
 	{ ATI_VENDOR_ID, ATI_IXP_200_ID, "ATI IXP 200" },
 	{ ATI_VENDOR_ID, ATI_IXP_300_ID, "ATI IXP 300" },
 	{ ATI_VENDOR_ID, ATI_IXP_400_ID, "ATI IXP 400" },
+        { ATI_VENDOR_ID, ATI_IXP_SB600_ID, "ATI IXP SB600" },
 };
 
 static void atiixp_enable_interrupts(struct atiixp_info *);

*****************************************************************************

+++ atiixp.h	2007-11-04 15:37:55.000000000 +0100
@@ -51,6 +51,7 @@
 #define ATI_IXP_200_ID		0x4341
 #define ATI_IXP_300_ID		0x4361
 #define ATI_IXP_400_ID		0x4370
+#define ATI_IXP_SB600_ID	0x4384
 
 #define ATI_IXP_BASE_RATE	48000
 
*****************************************************************************
How-To-Repeat: n/a
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2007-11-04 15:37:09 UTC
Responsible Changed
From-To: freebsd-bugs->ariff

Over to maintainer.
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-11-04 16:03:18 UTC
ariff       2007-11-04 16:03:10 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/sound/pci    atiixp.c atiixp.h 
  Log:
  Add support for trimmed down version of ATI SB600 AC97 audio
  controller.
  
  URL:            http://www.ipc2u.de/catalog/P/PE/36486.html
  PR:             kern/117813
  Submitted by:   Klaus Mayr
  MFC after:      1 day
  
  Revision  Changes    Path
  1.21      +1 -0      src/sys/dev/sound/pci/atiixp.c
  1.4       +1 -0      src/sys/dev/sound/pci/atiixp.h
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ariff Abdullah freebsd_committer freebsd_triage 2007-11-04 16:05:41 UTC
State Changed
From-To: open->patched

Fix committed, MFC later. 

Thanks for the submission. I love this PR :)
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-11-06 02:08:02 UTC
ariff       2007-11-06 02:07:57 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/sound/pci    atiixp.c atiixp.h 
  Log:
  MFC:
  
    Revisions:
    1.21     src/sys/dev/sound/pci/atiixp.c
    1.4      src/sys/dev/sound/pci/atiixp.h
  
  Add support for trimmed down version of ATI SB600 AC97 audio
  controller.
  
  URL:            http://www.ipc2u.de/catalog/P/PE/36486.html
  PR:             kern/117813
  Submitted by:   Klaus Mayr
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.19.2.1  +2 -1      src/sys/dev/sound/pci/atiixp.c
  1.3.2.1   +1 -0      src/sys/dev/sound/pci/atiixp.h
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-11-06 02:08:29 UTC
ariff       2007-11-06 02:08:25 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/sound/pci    atiixp.c atiixp.h 
  Log:
  MFC:
  
    Revisions:
    1.21     src/sys/dev/sound/pci/atiixp.c
    1.4      src/sys/dev/sound/pci/atiixp.h
  
  Add support for trimmed down version of ATI SB600 AC97 audio
  controller.
  
  URL:            http://www.ipc2u.de/catalog/P/PE/36486.html
  PR:             kern/117813
  Submitted by:   Klaus Mayr
  
  Revision  Changes    Path
  1.2.2.8   +1 -0      src/sys/dev/sound/pci/atiixp.c
  1.1.2.3   +1 -0      src/sys/dev/sound/pci/atiixp.h
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 Ariff Abdullah freebsd_committer freebsd_triage 2007-11-06 02:08:58 UTC
State Changed
From-To: patched->closed

Fix committed. Thanks for the submission.