[PATCH] aic byteorder fixes after recent cleanup

Rebuild the aic7xxx firmware doesn't work anymore after this change
which appeared int 2.6.13-rc1:

[SCSI] aic7xxx/aic79xx: remove useless byte order macro cruft

Two files did not include byteorder.h, resulting in aic dying with a panic

"Unknown opcode encountered in seq program"

This fixes it for me.

Signed-off-by: Olaf Hering <olh@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Olaf Hering and committed by Linus Torvalds f7c80c9f f7d1d23c

+7 -5
+2 -2
drivers/scsi/aic7xxx/aicasm/aicasm.c
··· 369 369 370 370 fprintf(ofile, "%s\t0x%02x, 0x%02x, 0x%02x, 0x%02x", 371 371 cur_instr == STAILQ_FIRST(&seq_program) ? "" : ",\n", 372 - #if BYTE_ORDER == LITTLE_ENDIAN 372 + #ifdef __LITTLE_ENDIAN 373 373 cur_instr->format.bytes[0], 374 374 cur_instr->format.bytes[1], 375 375 cur_instr->format.bytes[2], ··· 613 613 line++; 614 614 } 615 615 fprintf(listfile, "%03x %02x%02x%02x%02x", instrptr, 616 - #if BYTE_ORDER == LITTLE_ENDIAN 616 + #ifdef __LITTLE_ENDIAN 617 617 cur_instr->format.bytes[0], 618 618 cur_instr->format.bytes[1], 619 619 cur_instr->format.bytes[2],
+5 -3
drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
··· 42 42 * $FreeBSD$ 43 43 */ 44 44 45 + #include <asm/byteorder.h> 46 + 45 47 struct ins_format1 { 46 - #if BYTE_ORDER == LITTLE_ENDIAN 48 + #ifdef __LITTLE_ENDIAN 47 49 uint32_t immediate : 8, 48 50 source : 9, 49 51 destination : 9, ··· 63 61 }; 64 62 65 63 struct ins_format2 { 66 - #if BYTE_ORDER == LITTLE_ENDIAN 64 + #ifdef __LITTLE_ENDIAN 67 65 uint32_t shift_control : 8, 68 66 source : 9, 69 67 destination : 9, ··· 81 79 }; 82 80 83 81 struct ins_format3 { 84 - #if BYTE_ORDER == LITTLE_ENDIAN 82 + #ifdef __LITTLE_ENDIAN 85 83 uint32_t immediate : 8, 86 84 source : 9, 87 85 address : 10,