diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-14 15:41:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:15 -0700 |
commit | 6f13ea3df5de2af5c50e15218553c2434e455be9 (patch) | |
tree | 46e443b980f65b4a9f0e5fad0736708ed57b78de /drivers/staging/sep/sep_driver_api.h | |
parent | 51faa9d27cbcfd5165d31762161319a2fdb11856 (diff) | |
download | kernel_goldelico_gta04-6f13ea3df5de2af5c50e15218553c2434e455be9.zip kernel_goldelico_gta04-6f13ea3df5de2af5c50e15218553c2434e455be9.tar.gz kernel_goldelico_gta04-6f13ea3df5de2af5c50e15218553c2434e455be9.tar.bz2 |
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.h | 26 |
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 08b4c24..383543d 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 { |