Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5589
b: refs/heads/master
c: f7c80c9
h: refs/heads/master
i:
  5587: 31ee2af
v: v3
  • Loading branch information
Olaf Hering authored and Linus Torvalds committed Aug 2, 2005
1 parent afb0c4e commit 18e8485
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7d1d23c301e0ce82c801f3b5800be6341752a1f
refs/heads/master: f7c80c9f77b0e8a59a19506fd3caf323408a5166
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/aic7xxx/aicasm/aicasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ output_code()

fprintf(ofile, "%s\t0x%02x, 0x%02x, 0x%02x, 0x%02x",
cur_instr == STAILQ_FIRST(&seq_program) ? "" : ",\n",
#if BYTE_ORDER == LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
cur_instr->format.bytes[0],
cur_instr->format.bytes[1],
cur_instr->format.bytes[2],
Expand Down Expand Up @@ -613,7 +613,7 @@ output_listing(char *ifilename)
line++;
}
fprintf(listfile, "%03x %02x%02x%02x%02x", instrptr,
#if BYTE_ORDER == LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
cur_instr->format.bytes[0],
cur_instr->format.bytes[1],
cur_instr->format.bytes[2],
Expand Down
8 changes: 5 additions & 3 deletions trunk/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@
* $FreeBSD$
*/

#include <asm/byteorder.h>

struct ins_format1 {
#if BYTE_ORDER == LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
uint32_t immediate : 8,
source : 9,
destination : 9,
Expand All @@ -61,7 +63,7 @@ struct ins_format1 {
};

struct ins_format2 {
#if BYTE_ORDER == LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
uint32_t shift_control : 8,
source : 9,
destination : 9,
Expand All @@ -79,7 +81,7 @@ struct ins_format2 {
};

struct ins_format3 {
#if BYTE_ORDER == LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
uint32_t immediate : 8,
source : 9,
address : 10,
Expand Down

0 comments on commit 18e8485

Please sign in to comment.