From: Eliot Blennerhassett <linux@audioscience.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH 3/5] asihpi: Remove HPI4000
Date: Thu, 06 Mar 2008 14:49:18 +1300 [thread overview]
Message-ID: <200803061449.18512.linux@audioscience.com> (raw)
Remove HPI4000
Signed-off-by: Eliot Blennerhassett <linux@audioscience.com
---
diff -r 6def4892d3f5 pci/asihpi/Makefile
--- a/pci/asihpi/Makefile Mon Mar 03 11:05:48 2008 +0100
+++ b/pci/asihpi/Makefile Thu Mar 06 14:31:55 2008 +1300
@@ -7,7 +7,7 @@ include $(SND_TOPDIR)/Makefile.conf
snd-asihpi-objs := asihpi.o hpimod.o hpimsginit.o\
hpicmn.o hpifunc.o hpidebug.o hpidspcd.o\
- hpios_linux_kernel.o hpi4000.o hpi6000.o hpi6205.o hpimsgx.o
+ hpios_linux_kernel.o hpi6000.o hpi6205.o hpimsgx.o
obj-$(CONFIG_SND_ASIHPI) += snd-asihpi.o
diff -r 6def4892d3f5 pci/asihpi/hpimsgx.c
--- a/pci/asihpi/hpimsgx.c Mon Mar 03 11:05:48 2008 +0100
+++ b/pci/asihpi/hpimsgx.c Thu Mar 06 12:21:49 2008 +1300
@@ -476,8 +476,6 @@ void HPI_MessageEx(
ep_name = "HPI_6000";
else if (ep == HPI_6205)
ep_name = "HPI_6205";
- else if (ep == HPI_4000)
- ep_name = "HPI_4000";
else
ep_name = "unknown";
@@ -598,7 +596,8 @@ static void InStreamClose(
if (hOwner ==
aIStreamUserOpen[phm->wAdapterIndex][phm->u.d.wStreamIndex].
hOwner) {
- /* HPI_DEBUG_LOG(INFO,"closing adapter %d instream %d owned by %p\n",
+ /* HPI_DEBUG_LOG(INFO,"closing adapter %d "
+ "instream %d owned by %p\n",
phm->wAdapterIndex, phm->u.d.wStreamIndex, hOwner); */
aIStreamUserOpen[phm->wAdapterIndex][phm->u.d.wStreamIndex].
hOwner = NULL;
@@ -701,7 +700,8 @@ static void OutStreamClose(
if (hOwner ==
aOStreamUserOpen[phm->wAdapterIndex][phm->u.d.wStreamIndex].
hOwner) {
- /* HPI_DEBUG_LOG(INFO,"closing adapter %d outstream %d owned by %p\n",
+ /* HPI_DEBUG_LOG(INFO,"closing adapter %d "
+ "outstream %d owned by %p\n",
phm->wAdapterIndex, phm->u.d.wStreamIndex, hOwner); */
aOStreamUserOpen[phm->wAdapterIndex][phm->u.d.wStreamIndex].
hOwner = NULL;
@@ -904,8 +904,9 @@ static u16 HPIMSGX_Init(
phr->wError = HPI_ERROR_PROCESSING_MESSAGE;
return phr->wError;
}
- /* if the adapter was created succesfully save the mapping for future use */
if (hr.wError == 0) {
+ /* the adapter was created succesfully
+ save the mapping for future use */
hpi_entry_points[hr.u.s.wAdapterIndex] = entry_point_func;
/* prepare adapter (pre-open streams etc.) */
HPI_DEBUG_LOG(DEBUG,
@@ -936,7 +937,7 @@ static void HPIMSGX_Cleanup(
}
for (; wAdapter < wAdapterLimit; wAdapter++) {
- /* printk(KERN_INFO "Cleanup adapter #%d\n",wAdapter); */
+ /* printk(KERN_INFO "Cleanup adapter #%d\n",wAdapter); */
for (i = 0; i < HPI_MAX_STREAMS; i++) {
if (hOwner == aOStreamUserOpen[wAdapter][i].hOwner) {
struct hpi_message hm;
diff -r 6def4892d3f5 pci/asihpi/hpipcida.h
--- a/pci/asihpi/hpipcida.h Mon Mar 03 11:05:48 2008 +0100
+++ b/pci/asihpi/hpipcida.h Wed Mar 05 21:59:17 2008 +1300
@@ -34,20 +34,4 @@ HPI_PCI_VENDOR_ID_TI, HPI_ADAPTER_PCI204
HPI_PCI_VENDOR_ID_AUDIOSCIENCE, PCI_ANY_ID, 0, 0,
(kernel_ulong_t) HPI_6000}
, {
-HPI_PCI_VENDOR_ID_MOTOROLA, HPI_ADAPTER_DSP56301,
- HPI_PCI_VENDOR_ID_AUDIOSCIENCE, PCI_ANY_ID, 0, 0,
- (kernel_ulong_t) HPI_4000}
-,
- /* look for ASI cards that have 0x12cf sub-vendor ID,
- like the 4300 and 4601 */
-{
-HPI_PCI_VENDOR_ID_MOTOROLA, HPI_ADAPTER_DSP56301, 0x12CF, PCI_ANY_ID,
- 0, 0, (kernel_ulong_t) HPI_4000}
-,
- /* look for ASI cards that have sub-vendor-ID = 0,
- like the 4501, 4113 and 4215 revC and below */
-{
-HPI_PCI_VENDOR_ID_MOTOROLA, HPI_ADAPTER_DSP56301, 0, PCI_ANY_ID, 0, 0,
- (kernel_ulong_t) HPI_4000}
-, {
0,}
next reply other threads:[~2008-03-06 1:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 1:49 Eliot Blennerhassett [this message]
2008-03-06 23:32 ` [PATCH 3/5] asihpi: Remove HPI4000 Eliot Blennerhassett
2008-03-13 10:40 ` Takashi Iwai
2008-03-13 20:46 ` Eliot Blennerhassett
2008-03-14 8:10 ` Takashi Iwai
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=200803061449.18512.linux@audioscience.com \
--to=linux@audioscience.com \
--cc=alsa-devel@alsa-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.