]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
solos: Clean up firmware loading code
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Jan 2009 03:16:12 +0000 (14:16 +1100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 27 Jan 2009 03:19:26 +0000 (14:19 +1100)
commitfa755b9f2b03df1e0fa6d01b8949bbc778705973
tree703a48b707c2f4350e624bac0891e128da9c7f77
parent7c4015bdffed7c961b6df46c6326cc65962e6594
solos: Clean up firmware loading code

We no longer try to load firmware while the ATM is up and running.
However, this means that we _do_ make init_module() wait for it, and it
takes a long time for now (since we're using ultra-conservative code in
the FPGA for that too).

The inner loop which uses swahb32p() was by Simon Farnsworth.

Simon has patches which migrate us to request_firmware_nowait(), for
which we'll actually need to take down the ATM devices, do the upgrade,
then reregister them.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/atm/solos-pci.c