diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-06-05 07:59:51 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 09:49:39 -0400 |
commit | 27d202fff1555f5b0eb16a5aedc452566f9ab8bb (patch) | |
tree | 702f44afc97e1eee2f99f4cf88ca605ee2b50981 /drivers/atm/ambassador.h | |
parent | ec6752f5afce659025962e25fb2f42b3911254a1 (diff) |
firmware: convert Ambassador ATM driver to request_firmware()
Since it had various regions to be loaded to separate addresses, and it
wanted to do them in fairly small chunks anyway, switch it to use the
new ihex code. Encode the start address in the first record.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Diffstat (limited to 'drivers/atm/ambassador.h')
-rw-r--r-- | drivers/atm/ambassador.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/atm/ambassador.h b/drivers/atm/ambassador.h index df55fa8387dc..bd1c46a7ef49 100644 --- a/drivers/atm/ambassador.h +++ b/drivers/atm/ambassador.h | |||
@@ -656,17 +656,6 @@ typedef struct amb_dev amb_dev; | |||
656 | #define AMB_DEV(atm_dev) ((amb_dev *) (atm_dev)->dev_data) | 656 | #define AMB_DEV(atm_dev) ((amb_dev *) (atm_dev)->dev_data) |
657 | #define AMB_VCC(atm_vcc) ((amb_vcc *) (atm_vcc)->dev_data) | 657 | #define AMB_VCC(atm_vcc) ((amb_vcc *) (atm_vcc)->dev_data) |
658 | 658 | ||
659 | /* the microcode */ | ||
660 | |||
661 | typedef struct { | ||
662 | u32 start; | ||
663 | unsigned int count; | ||
664 | } region; | ||
665 | |||
666 | static region ucode_regions[]; | ||
667 | static u32 ucode_data[]; | ||
668 | static u32 ucode_start; | ||
669 | |||
670 | /* rate rounding */ | 659 | /* rate rounding */ |
671 | 660 | ||
672 | typedef enum { | 661 | typedef enum { |