Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261317AbUCZVZx (ORCPT ); Fri, 26 Mar 2004 16:25:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261158AbUCZVX5 (ORCPT ); Fri, 26 Mar 2004 16:23:57 -0500 Received: from 228.17.30.61.isp.tfn.net.tw ([61.30.17.228]:23672 "EHLO cm-msg-02.cmedia.com.tw") by vger.kernel.org with ESMTP id S261317AbUCZVXS (ORCPT ); Fri, 26 Mar 2004 16:23:18 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C41378.88FB1758" Subject: RE: cmpci 6.64 released Date: Sat, 27 Mar 2004 05:23:08 +0800 Message-ID: <92C0412E07F63549B2A2F2345D3DB515F7D3F7@cm-msg-02.cmedia.com.tw> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: [PATCH]: cmpci.c Thread-Index: AcPoPln518nTM2OeR7+CNxqaVKXWNQn7zVPjANKiOec= From: =?big5?B?Qy5MLiBUaWVuIC0gpdCp08Kn?= To: , Cc: =?big5?B?pqyrSLhzstUtuvSttiBTdXBwb3J0IKtIvWM=?= Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5133 Lines: 116 This is a multi-part message in MIME format. ------_=_NextPart_001_01C41378.88FB1758 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Hi, I update the 46.diff, which is used to patch cmpci.c to support kernel = 2.6. The synchronize_irq() has one parameter in kernel 2.6 and none in kernel = 2.4, however, it still compile well on a i386 kernel 2.6, I discover it = on an IA64 system. Sincerely, ChenLi Tien -----Original Message----- From: C.L. Tien - =A5=D0=A9=D3=C2=A7 Sent: 2004/3/22 [=ACP=B4=C1=A4@] =A4U=A4=C8 12:24 To: linux-kernel@vger.kernel.org; linux-audio-dev@music.columbia.edu Cc: =A6=AC=ABH=B8s=B2=D5-=BA=F4=AD=B6 Support =ABH=BDc Subject: ANN: cmpci 6.64 released Hi, I made many changes for cmpci.c since last release. Changes are made as = follows: 1. Fix the S/PDIF out programming bug appeared in 6.16. 2. Support 8338 4-channel playback. 3. S/PDIF loop can be used after AC3 playback. 4. Legacy devices (FM, MPU401 and gameport) are served by other modules. Now the code is thinner. 5. Remove parameters setting from kernel configure menu, they can be set easily when loading the module. 6. Add spdif_out to output 44.1K/48K 16-bit stereo to S/PDIF out. 7. Add hw_copy to duplicate audio of front speakers to surround = speakers. 8. Change code to minimum patch for kernel 2.6. The attached cmpci.c in cmpci-6.64.tar.bz2 is the updated driver, and = 46.diff is the patch file that needed for kernel 2.6. The cmpci-patch-2.4.25.tar.bz2 and cmpci-patch-2.6.4.tar.bz2 are patches = for kernel 2.4.25/2.6.4 tree patch, they are needed to support legacy = devices, otherwise you may ignore them. The cmi8738.tar.bz2 contains CMI8738, which is modified from CMI8338. It = describe the parameters cmi8738 can support. Please feedback if you have any question, I will post to kernel = maintaner if no serious problem with it. Sincerely, ChenLi Tien ------_=_NextPart_001_01C41378.88FB1758 Content-Type: application/octet-stream; name="46.diff" Content-Transfer-Encoding: base64 Content-Description: 46.diff Content-Disposition: attachment; filename="46.diff" LS0tIGNtcGNpLmMJTW9uIE1hciAyMiAxMjowNzowMiAyMDA0CisrKyAyLjYuNC9jbXBjaS5jCUZy aSBNYXIgMjYgMTU6Mjc6MzIgMjAwNApAQCAtMTUyNSw3ICsxNTI1LDcgQEAKIAl9CiB9CiAKLXN0 YXRpYyB2b2lkIGNtX2ludGVycnVwdChpbnQgaXJxLCB2b2lkICpkZXZfaWQsIHN0cnVjdCBwdF9y ZWdzICpyZWdzKQorc3RhdGljIGlycXJldHVybl90IGNtX2ludGVycnVwdChpbnQgaXJxLCB2b2lk ICpkZXZfaWQsIHN0cnVjdCBwdF9yZWdzICpyZWdzKQogewogICAgICAgICBzdHJ1Y3QgY21fc3Rh dGUgKnMgPSAo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isJc3luY2hyb25pemVfaXJxKHMtPmlycSk7CiAJb3V0YigwLCBzLT5pb2Jhc2UgKyBDT0RFQ19D TUlfRlVOQ1RSTDAgKyAyKTsgLyogZGlzYWJsZSBjaGFubmVscyAqLwogCWZyZWVfaXJxKHMtPmly cSwgcyk7CiAK ------_=_NextPart_001_01C41378.88FB1758-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/