Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27425
Modified Files: via82xx.c Log Message: Removed duplicated code Index: via82xx.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v retrieving revision 1.79 retrieving revision 1.80 diff -u -r1.79 -r1.80 --- via82xx.c 21 Jan 2004 18:32:47 -0000 1.79 +++ via82xx.c 27 Jan 2004 19:07:01 -0000 1.80 @@ -1641,14 +1641,6 @@ } else { mpu_port[dev] = pci_resource_start(chip->pci, 2); } - if (mpu_port[dev] >= 0x200 && - (chip->mpu_res = request_region(pci_resource_start(chip->pci, 2), 2, - "VIA82xx MPU401")) != NULL) { - legacy |= VIA_FUNC_ENABLE_MIDI; - } else { - mpu_port[dev] = 0; - legacy &= ~VIA_FUNC_ENABLE_MIDI; - } } else { switch (mpu_port[dev]) { /* force MIDI */ case 0x300: ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog