/* format: baycom_ser_fdx=io,irq,mode mode: ser# hardware DCD ser#* software DCD ser#+ hardware DCD, inverted signal at DCD pin '#' denotes the baud rate / 100, eg. ser12* is '1200 baud, soft DCD'  */
static int __init baycom_ser_fdx_setup(char *str)
/* format: baycom_ser_fdx=io,irq,mode mode: ser# hardware DCD ser#* software DCD ser#+ hardware DCD, inverted signal at DCD pin '#' denotes the baud rate / 100, eg. ser12* is '1200 baud, soft DCD'  */
static int __init baycom_ser_fdx_setup(char *str)
{
        static unsigned nr_dev;
        int ints[4];
        if (nr_dev >= NR_PORTS)
                return 0;
        str = get_options(str, 4, ints);
        if (ints[0] < 2)
                return 0;
        mode[nr_dev] = str;
        iobase[nr_dev] = ints[1];
        irq[nr_dev] = ints[2];
	if (ints[0] >= 3)
		baud[nr_dev] = ints[3];
	nr_dev++;
	return 1;
}