summaryrefslogtreecommitdiff
path: root/drivers/staging/sep/sep_driver_api.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2009-08-14 18:41:50 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 23:02:15 +0400
commit6f13ea3df5de2af5c50e15218553c2434e455be9 (patch)
tree46e443b980f65b4a9f0e5fad0736708ed57b78de /drivers/staging/sep/sep_driver_api.h
parent51faa9d27cbcfd5165d31762161319a2fdb11856 (diff)
downloadlinux-6f13ea3df5de2af5c50e15218553c2434e455be9.tar.xz
Staging: sep: tidy firmware load
Start by removing unused fields and then work this back to eliminate unused chunks of the firmware loading ioctl (ie almost all of it) Also fix the wrong handling of shared allocations and allocate the rar region properly with dma_alloc_coherent not kmalloc, as it is device shared. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep/sep_driver_api.h')
-rw-r--r--drivers/staging/sep/sep_driver_api.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/drivers/staging/sep/sep_driver_api.h b/drivers/staging/sep/sep_driver_api.h
index 08b4c2418506..383543d97f9c 100644
--- a/drivers/staging/sep/sep_driver_api.h
+++ b/drivers/staging/sep/sep_driver_api.h
@@ -116,32 +116,14 @@ struct sep_driver_init_t {
realloc cache resident command
*/
struct sep_driver_realloc_cache_resident_t {
- /* base address */
- unsigned long base_addr;
-
- /* current cache address */
- unsigned long cache_addr;
-
- /* cache size in bytes */
- unsigned long cache_size_in_bytes;
-
- /* current resident address */
- unsigned long resident_addr;
-
- /* resident size in bytes */
- unsigned long resident_size_in_bytes;
-
/* new cache address */
- unsigned long new_cache_addr;
-
+ u64 new_cache_addr;
/* new resident address */
- unsigned long new_resident_addr;
-
+ u64 new_resident_addr;
/* new resident address */
- unsigned long new_shared_area_addr;
-
+ u64 new_shared_area_addr;
/* new base address */
- unsigned long new_base_addr;
+ u64 new_base_addr;
};
struct sep_driver_alloc_t {