aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/slicoss/slic.h
diff options
context:
space:
mode:
authorLior Dotan <liodot@gmail.com>2008-11-05 16:02:20 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:08 -0800
commit470c5736fffa16923a3d27a0f365b691086a014d (patch)
tree66e9d8e935a7642d2842fbc9afd7f275f426f9b9 /drivers/staging/slicoss/slic.h
parent66615321f59c6ff98b7bf2e9a3caf04ff30c031b (diff)
downloadkernel_samsung_smdk4412-470c5736fffa16923a3d27a0f365b691086a014d.zip
kernel_samsung_smdk4412-470c5736fffa16923a3d27a0f365b691086a014d.tar.gz
kernel_samsung_smdk4412-470c5736fffa16923a3d27a0f365b691086a014d.tar.bz2
Staging: slicoss: use request_firmware
This should make the driver use request_firmware() instead of a static firmware. Some obvious things are missing: 1) The unneeded header files are not removed yet. This is to keep the patch size small. 2) The .bin files are missing so the driver doesn't have what to load. 3) Testing. None of this was tested. It does compiles OK though :) Signed-off-by: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/slicoss/slic.h')
-rw-r--r--drivers/staging/slicoss/slic.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h
index 0d5dc24..a8ea59d 100644
--- a/drivers/staging/slicoss/slic.h
+++ b/drivers/staging/slicoss/slic.h
@@ -41,6 +41,40 @@
#ifndef __SLIC_DRIVER_H__
#define __SLIC_DRIVER_H__
+/* firmware stuff */
+#define OASIS_UCODE_VERS_STRING "1.2"
+#define OASIS_UCODE_VERS_DATE "2006/03/27 15:10:37"
+#define OASIS_UCODE_HOSTIF_ID 3
+
+static s32 ONumSections = 0x2;
+static u32 OSectionSize[] = {
+ 0x00004000, 0x00010000,
+};
+
+static u32 OSectionStart[] = {
+ 0x00000000, 0x00008000,
+};
+
+#define MOJAVE_UCODE_VERS_STRING "1.2"
+#define MOJAVE_UCODE_VERS_DATE "2006/03/27 15:12:22"
+#define MOJAVE_UCODE_HOSTIF_ID 3
+
+static s32 MNumSections = 0x2;
+static u32 MSectionSize[] =
+{
+ 0x00008000, 0x00010000,
+};
+
+static u32 MSectionStart[] =
+{
+ 0x00000000, 0x00008000,
+};
+
+#define GB_RCVUCODE_VERS_STRING "1.2"
+#define GB_RCVUCODE_VERS_DATE "2006/03/27 15:12:15"
+static u32 OasisRcvUCodeLen = 512;
+static u32 GBRcvUCodeLen = 512;
+#define SECTION_SIZE 65536
struct slic_spinlock {
spinlock_t lock;