Update of /cvsroot/alsa/alsa-kernel/drivers/mpu401
In directory sc8-pr-cvs1:/tmp/cvs-serv30367/drivers/mpu401
Modified Files:
mpu401_uart.c
Log Message:
- added the error messages for resource allocation failures.
Index: mpu401_uart.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/drivers/mpu401/mpu401_uart.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- mpu401_uart.c 7 May 2003 15:21:44 -0000 1.28
+++ mpu401_uart.c 13 Jan 2004 17:11:25 -0000 1.29
@@ -498,6 +498,7 @@
if (!integrated) {
int res_size = hardware == MPU401_HW_PC98II ? 4 : 2;
if ((mpu->res = request_region(port, res_size, "MPU401 UART")) ==
NULL) {
+ snd_printk(KERN_ERR "mpu401_uart: unable to grab port 0x%lx
size %d\n", port, res_size);
snd_device_free(card, rmidi);
return -EBUSY;
}
@@ -519,7 +520,7 @@
mpu->cport = port + 1;
if (irq >= 0 && irq_flags) {
if (request_irq(irq, snd_mpu401_uart_interrupt, irq_flags, "MPU401
UART", (void *) mpu)) {
- snd_printk("unable to grab IRQ %d\n", irq);
+ snd_printk(KERN_ERR "mpu401_uart: unable to grab IRQ %d\n",
irq);
snd_device_free(card, rmidi);
return -EBUSY;
}
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog