Re: jsm: two or more 4/8-port boards can not initialize portsproperly

From: Alan Cox
Date: Tue May 12 2009 - 20:23:47 EST


> +struct jsm_board *jsm_boards[MAXBOARDS];
> +

adapter_count increments each time regardless of boards present so that
doesn't work after a few hotplugs it seems ?

> brd->boardnum = adapter_count++;
> + jsm_boards[brd->boardnum] = brd;
> brd->pci_dev = pdev;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/