8250 driver patch for Blackfin platforms
Hello,
I had modified the 8250.c driver as follows for Blackfin uClinux. Robin Getz had suggested me that this patch should be sumitted upstream. I hope that this is is the right way.
Regards,
Javier
drivers/serial/8250.c +6 -0
@@ -92,7 +92,9 @@*/ #define CONFIG_HUB6 1 +#ifndef CONFIG_BLACKFIN #include <asm/serial.h> +#endif /* * SERIAL_PORT_DFNS tells us about built-in ports that have no
@@ -1544,6 +1546,10 @@ i->head = &up->list;spin_unlock_irq (&i->lock); +#ifdef CONFIG_BLACKFIN + irq_flags |=IRQF_TRIGGER_HIGH ; +#endif + ret =request_irq (up->port.irq, serial8250_interrupt, irq_flags,"serial" , i);if (ret <0 )
Signature · 5 lines
------------------------------------------------------------------------ Javier Herrero EMAIL: [email protected] HV Sistemas S.L. PHONE: +34 949 336 806 Los Charcones, 17A FAX: +34 949 336 792 19170 El Casar - Guadalajara - Spain WEB: http://www.hvsistemas.com