Hi all,
I'm nearly done adding support to the generic serial driver for a 'dumb'
PCI serial board I have. For the most part this has been quite uneventful,
writing init functions, enabling interrups, caclulating offsets, causing
kernel panics & endless interrupts,etc, but there's one issure which I'd
like some advice on.
The UART chips I have on the board (Oxford semi OX16C952s dual Uarts),
by defaut are compatible with the 450 UARTs, i.e. No fifos, and not very
many features. However by writing to certain registers I can enable enhanced
mode, which gives me 128 byte FIFOs and other neat features.
However, the current serial driver doesn't probe for the OX semi chips
(which it natively supports) if the UART is detected as a 450. I was
thinking of adding code to the generic detection routine so that these chips
can be properly detected, but I'm worried about compatibility with other
UARTS (in particularly the National Semiconductor UARTS which reported crash
when serial_icr_read/write is called.
I know I could always set the UARTs in my init fuction for the board so
that they are properly detected by the script, but this seems really
inelegant as I'd be operating blind, i.e. no comfy serial_out functions,
just readb and writeb and ioremap, plus any other people with the same
problem would have to use this same hack-ish method.
Any advice/flames/offers of money?
Mike Hudson
Sysadmin, LCSnet
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]