/[openvortex]/alsa/pci/au88x0/au88x0.c
ViewVC logotype

Diff of /alsa/pci/au88x0/au88x0.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by vizard, Wed Apr 23 02:19:44 2003 UTC revision 1.6 by vizard, Thu Apr 24 02:54:11 2003 UTC
# Line 252  snd_vortex_probe(struct pci_dev *pci, co Line 252  snd_vortex_probe(struct pci_dev *pci, co
252      strcpy(card->shortname, CARD_NAME_SHORT);      strcpy(card->shortname, CARD_NAME_SHORT);
253      sprintf(card->longname, "%s at 0x%lx irq %i",      sprintf(card->longname, "%s at 0x%lx irq %i",
254              card->shortname, chip->io, chip->irq);              card->shortname, chip->io, chip->irq);
255        
256    #ifdef CONFIG_SND_AU8830
257        {
258            unsigned char revision;
259            if ((err = pci_read_config_byte(pci, PCI_REVISION_ID, &revision)) < 0) {
260                snd_card_free(card);
261                return err;
262            }
263    
264            if (revision != 0xfe && revision != 0xfa) {
265                printk(KERN_ALERT "vortex: The revision (%x) of your card has not been seen before.\n", revision);
266                printk(KERN_ALERT "vortex: Please email the results of 'lspci -vv' to openvortex-dev@nongnu.org.\n");
267            }
268        }
269    #endif
270      // (6)      // (6)
271      if ((err = snd_card_register(card)) < 0) {      if ((err = snd_card_register(card)) < 0) {
272          snd_card_free(card);          snd_card_free(card);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26