|
@@ -598,12 +598,6 @@ static void cyy_chip_tx(struct cyclades_card *cinfo, unsigned int chip,
|
|
save_car = readb(base_addr + (CyCAR << index));
|
|
save_car = readb(base_addr + (CyCAR << index));
|
|
cy_writeb(base_addr + (CyCAR << index), save_xir);
|
|
cy_writeb(base_addr + (CyCAR << index), save_xir);
|
|
|
|
|
|
- /* validate the port# (as configured and open) */
|
|
|
|
- if (channel + chip * 4 >= cinfo->nports) {
|
|
|
|
- cy_writeb(base_addr + (CySRER << index),
|
|
|
|
- readb(base_addr + (CySRER << index)) & ~CyTxRdy);
|
|
|
|
- goto end;
|
|
|
|
- }
|
|
|
|
info = &cinfo->ports[channel + chip * 4];
|
|
info = &cinfo->ports[channel + chip * 4];
|
|
tty = tty_port_tty_get(&info->port);
|
|
tty = tty_port_tty_get(&info->port);
|
|
if (tty == NULL) {
|
|
if (tty == NULL) {
|