serial chip duart XR16C2850 does not transmits or receives
Hi,
I am using dual port XR16C2850 interfaced with MPC8313E powerpc controller. I am using 8250.c linux driver. IRQ0(interrupt vector 48) and IRQ1(interrupt vector 17) of controller is connected to INTA and INTB of duart. When I send the echo command, I get the chip select but there is no data on TX line.
I get following error:-
device failed to grab its irq resources
kernel debug is below:-
echo 1010 > /dev/ttyS1
RAVS: uart_open(1) called and total num is (4)
RAVS: state->uart_port->flags 0x31000040 and irq 0x30
RAVS : serial8250_startup
up->port.type : 12
RAVS : in start up PORT_16850
RAVS: It's a real HW IRQ
RAVS: serial_link_irq_chain irq: 48
RAVS: requestig IRQ 48
RAVS: mcr -> 0x8
Got IRQ 48
RAVS: IIR 0x1
RAVS: ier 0x0 lcr 0x13 mcr 0x0 acr 0x0
RAVS : retval of startup 0
RAVS : skipped init_hw
uart_startup returned 0
RAVS : RtV ->0
RAVS: 1st time open suceed port->flags : 0xa0000000
RAVS : device failed to grab its irq resources
RAVS: mcr -> 0x8
RAVS termios data :
,iflag->768
,oflag->3
,cflag->51981
,lflag->1487
ispeed->9600
ospeed->9600
RAVS: mcr -> 0xb
Got IRQ 48
RAVS: IIR 0xc2
RAVS_UART_IIR_NO_INT : ier 0x5 lcr 0x13 mcr 0x0 acr 0x0
RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0
RAVS: IIR 0xc1
RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0
Got IRQ 48
RAVS: IIR 0xc2
RAVS_UART_IIR_NO_INT : ier 0x7 lcr 0x13 mcr 0x0 acr 0x0
RAVS: ier 0x7 lcr 0x13 mcr 0x0 acr 0x0
RAVS: IIR 0xc1
RAVS: ier 0x7 lcr 0x13 mcr 0x0 acr 0x0
Got IRQ 48
RAVS: IIR 0xc2
RAVS_UART_IIR_NO_INT : ier 0x5 lcr 0x13 mcr 0x0 acr 0x0
RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0
RAVS: IIR 0xc1
RAVS: ier 0x5 lcr 0x13 mcr 0x0 acr 0x0
RAVS: mcr -> 0x8
RAVS: mcr -> 0x0
Got IRQ 48
RAVS: IIR 0xc1
RAVS: ier 0x0 lcr 0x13 mcr 0x0 acr 0x0
|