On Fri, Jul 31, 2015 at 01:55:07AM -0500, Peter E. Berger wrote:
> From: "Peter E. Berger"
> +static int check_fw_sanity(struct edgeport_serial *serial,
> + const struct firmware *fw)
> +{
> + u16 length_total;
> + u8 checksum = 0;
> + int pos;
> + struct device *dev
From: "Peter E. Berger"
Do what we can to verify that the driver's firmware image is valid
(before attempting to download it to the Edgeport) by adding a new
function, check_fw_sanity(), and a call to it in in download_fw().
Note: It looks like some Edgeports (models like the EP/416 with on-boar