Re: [BUG] serial base baud misdetected in 2.6.27

From: Chris Friesen
Date: Tue Nov 04 2008 - 16:31:17 EST


Alan Cox wrote:
like it's hanging off the PCI bus. The vendor/device matches to an Exar Corp. XR17C152, which is given a base_baud of 921600 in drivers/serial/8250_pci.c.

According to the chip specs, 921600 is correct with the default crystal and control register values. However, other crystals can be used and there's also a control register bit to enable a prescalar which cuts the baud rate by a factor of four. I suspect that one of these has been done on our boards.

Probably. Did your vendor have the sense to set subvendor/subdevice
identifiers that can be used to identify that specific unit ?

No idea, but I'll look into it. Thanks for the help.

Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/