* Serial core: 8250_pci could not register serial port for UART chip EXAR XR17D152
@ 2005-07-14 16:47 V. ANANDA KRISHNAN
2005-07-16 8:38 ` Russell King
0 siblings, 1 reply; 2+ messages in thread
From: V. ANANDA KRISHNAN @ 2005-07-14 16:47 UTC (permalink / raw)
To: linux-kernel; +Cc: gregkh, rmk
Hi all,
I have been coming across a problem with my serial port EXAR chip XR
17D152, when I try to use the 8250_pci driver. I am using
kernel-2.6.12.1 on RHEL4.0-U1 on pSeries box with 4-cpu. 8250_pci
during the boot time, after detecting the exar chip (I checked with the
pci_dev structure and the pci_device_id structure for the info), is
unable to get thru the port registration (static int
__devinit_pciserial_init_one(struct pci_dev *dev, const struct
pci_device_id *ent) procedure in 8250_pci.c). I debugged the problem
and traced upto the routine "static int uart_match_port(struct uart_port
*port1, struct uart_port *port2" in 8250.c where UPIO_MEM is not
satisfying the condition port1->membase==port2->membase and hence
returns 0.
If I use the printk for dumping the port-> membase value the system
hags during the boot time with a blank screen (on the serial terminal).
I am yet to try with kernel-2.6.12.2. Please let me know how to proceed
in this case. Thanks,
V.Ananda Krishnan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Serial core: 8250_pci could not register serial port for UART chip EXAR XR17D152
2005-07-14 16:47 Serial core: 8250_pci could not register serial port for UART chip EXAR XR17D152 V. ANANDA KRISHNAN
@ 2005-07-16 8:38 ` Russell King
0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2005-07-16 8:38 UTC (permalink / raw)
To: V. ANANDA KRISHNAN; +Cc: linux-kernel, gregkh
On Thu, Jul 14, 2005 at 11:47:29AM -0500, V. ANANDA KRISHNAN wrote:
> I have been coming across a problem with my serial port EXAR chip XR
> 17D152, when I try to use the 8250_pci driver. I am using
> kernel-2.6.12.1 on RHEL4.0-U1 on pSeries box with 4-cpu. 8250_pci
> during the boot time, after detecting the exar chip (I checked with the
> pci_dev structure and the pci_device_id structure for the info), is
> unable to get thru the port registration (static int
> __devinit_pciserial_init_one(struct pci_dev *dev, const struct
> pci_device_id *ent) procedure in 8250_pci.c). I debugged the problem
> and traced upto the routine "static int uart_match_port(struct uart_port
> *port1, struct uart_port *port2" in 8250.c where UPIO_MEM is not
> satisfying the condition port1->membase==port2->membase and hence
> returns 0.
That's the intended result. uart_match_port() only returns true when
the types of the two ports match, and the base address of the two ports
also match.
Please try mainline 2.6 kernels. Also, please include the kernel entire
messages when reporting bugs.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-16 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-14 16:47 Serial core: 8250_pci could not register serial port for UART chip EXAR XR17D152 V. ANANDA KRISHNAN
2005-07-16 8:38 ` Russell King
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox