helpThe OpenVortex Project - Support: sr #103011, useless code in alsa driver

 
 

sr #103011: useless code in alsa driver

Submitted by:  None
Submitted on:  Thu 15 Apr 2004 08:58:47 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 1 - WishStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 06 Jan 2005 05:10:08 PM UTC, comment #4:

the files in the directory /alsa-driver/pci/au88x0/test

http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-driver/pci/au88x0/test/

Anonymous
Sat 05 Jun 2004 02:47:37 PM UTC, comment #3:

#define IS_BAD_CHIP(x) (\
(x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_VORTEX_2) || \
(x->rev == 0xfe && x->device == PCI_DEVICE_ID_AUREAL_ADVANTAGE))

Anonymous
Mon 26 Apr 2004 04:24:45 AM UTC, comment #2:

#define VORTEX_CODEC_DATSHIFT 0

Anonymous
Sat 17 Apr 2004 03:30:29 AM UTC, comment #1:

if ((err = pci_read_config_word(pci, PCI_DEVICE_ID,
&(chip->device))) < 0) {
snd_card_free(card);
return err;
}
if ((err = pci_read_config_word(pci, PCI_VENDOR_ID,
&(chip->vendor))) < 0) {
snd_card_free(card);
return err;
}

chip->vendor and chip->device have been initalised in

if ((err = snd_vortex_create(card, pci, &chip)) < 0) {

.
.
.
chip->card = card;

// initialize the stuff
chip->pci_dev = pci;
chip->io = pci_resource_start(pci, 0);
chip->vendor = pci->vendor;
chip->device = pci->device;
chip->card = card;
chip->irq = -1;

To provide more information about the card

if ((err = pci_read_config_word(pci, PCI_SUBSYSTEM_ID,
&(chip->subsystem_device))) < 0) {
snd_card_free(card);
return err;
}
if ((err = pci_read_config_word(pci, PCI_SUBSYSTEM_VENDOR_ID,
&(chip->subsystem_vendor))) < 0) {
snd_card_free(card);
return err;
}
printk(KERN_INFO "Aureal Vortex %s Rev.(%.2x) Subsystem %.4x:%.4x - %s\n",
card->shortname,
chip->rev,
chip->subsystem_vendor,
chip->subsystem_device,
card->mixername);

Anonymous
Thu 15 Apr 2004 08:58:47 AM UTC, original submission:

http://cvs.sourceforge.net/viewcvs.py/checkout/alsa/alsa-kernel/pci/au88x0/au88x0_core.c?content-type=text%2Fplain&rev=1.4

au8810 do not has wavetable

vortex_fifo_setwtctrl() of au88x0_core.c

#ifdef CHIP_AU8810
temp = (temp & 0xfeffffff) | ((f & 1) << 0x18);
temp = (temp & 0xfdffffff) | ((f & 1) << 0x19);
#endif

#ifdef CHIP_AU8810
temp =
((f & 1) << 0x18) | (temp & 0xfcffffef) | FIFO_BITS;
#endif

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup