Re: OXSEMI 16C950/4 detection patch for 2.3.99-pre1

From: tytso@mit.edu
Date: Mon Mar 20 2000 - 10:56:17 EST


>I've been working with 2.3.99-pre1 with our multiport card. And I found
>a problem on detecting oxsemi chip on kernel 2.3.99-pre1.
>
>
>// channel reset before read IDs
> serial_outp(info, UART_LCR, 0); // to ensure not 0xBF
> serial_icr_write(info,UART_CKS,0);
> serial_icr_write(info,UART_CSR,0); // software reset
> .
>
>Above 3 lines should be added before reading IDs of 950.

Why do you need to do this? The clock select register is automatically
reset to zero after a hardware reset, and I don't see anything in the
16C950 data sheet which indicates that resetting the UART is necessary
before reading the ID bytes.

I have some 16C950 and 16C954 boards, and their of these lines are
necessary.

>If you're interesting about OX16PCI954 based multi port card, Please
>send me e-mail. I have some evaluation boards for developer. Thanks.

I'll send you my U.S. Mail address under separate cover.

                                                - Ted

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:30 EST