/* FIXME make this somehow dynamic and not build time specific */
static int RS485mode = 0;
-static void ATEN2011_Dump_serial_port(struct ATENINTL_port *ATEN2011_port);
-
-
static inline void ATEN2011_set_serial_private(struct usb_serial *serial,
struct ATENINTL_serial *data)
{
return ret;
}
-static void ATEN2011_Dump_serial_port(struct ATENINTL_port *ATEN2011_port)
-{
-
- DPRINTK("***************************************\n");
- DPRINTK("SpRegOffset is %2x\n", ATEN2011_port->SpRegOffset);
- DPRINTK("ControlRegOffset is %2x \n", ATEN2011_port->ControlRegOffset);
- DPRINTK("DCRRegOffset is %2x \n", ATEN2011_port->DcrRegOffset);
- DPRINTK("***************************************\n");
-
-}
-
static int handle_newMsr(struct ATENINTL_port *port, __u8 newMsr)
{
struct ATENINTL_port *ATEN2011_port;
ATEN2011_port->ControlRegOffset = 0xd;
ATEN2011_port->DcrRegOffset = 0x1c;
}
- ATEN2011_Dump_serial_port(ATEN2011_port);
ATEN2011_set_port_private(serial->port[i], ATEN2011_port);