Skip to contentSkip to conversation

- alsa-lib emu10k1.h header sync

PATCH Peter Zubaj 1 participant 1 message Nov 13, 2004

lore
Share & tools
lore
#0 lore raw

Agrr, wrong one, this is right.

Quoted 4 lines

Hi,

This patch sync emu10k1.h header from alsa-lib/include/sound dir to last kernel emu10k1.h header changes.

Peter Zubaj

____________________________________
http://www.pobox.sk/ - najvacsi slovensky freemail

emu10k1.h renamed from emu10k1.h.old +4 -4
@@ -285,7 +285,7 @@
 	char name[128];
 
 	unsigned long gpr_valid[0x200/(sizeof(unsigned long)*8)]; /* bitmask of valid initializers */
-	unsigned int gpr_map[0x200];	  /* initializers */
+	unsigned int *gpr_map;	  /* initializers */
 
 	unsigned int gpr_add_control_count; /* count of GPR controls to add/replace */
 	emu10k1_fx8010_control_gpr_t *gpr_add_controls; /* GPR controls to add/replace */
@@ -298,11 +298,11 @@
 	emu10k1_fx8010_control_gpr_t *gpr_list_controls; /* listed GPR controls */
 
 	unsigned long tram_valid[0x100/(sizeof(unsigned long)*8)]; /* bitmask of valid initializers */
-	unsigned int tram_data_map[0x100]; /* data initializers */
-	unsigned int tram_addr_map[0x100]; /* map initializers */
+	unsigned int *tram_data_map; /* data initializers */
+	unsigned int *tram_addr_map; /* map initializers */
 
 	unsigned long code_valid[1024/(sizeof(unsigned long)*8)];  /* bitmask of valid instructions */
-	unsigned int code[1024][2];	  /* one instruction - 64 bits */
+	unsigned int *code;	  /* one instruction - 64 bits */
 } emu10k1_fx8010_code_t;
 
 typedef struct {