Skip to contentSkip to conversation

AIC7xxx endian include fix

PATCH In review Vojtech Pavlik 1 participant 1 message Sep 13, 2001

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/11 AIC7xxx endian include fix

Hi!

This is a bunch of patches to make most of the drivers in Linux kernel compile on the AMD SledgeHammer (x86-64) platform. Most of them are not x86-64 specific and are general fixes that are needed anyway.

All the patches are generated against x86-64 2.4.9 tree, but were tested that they apply with some minor offsets to 2.4.10-pre8 as well.

This first patch is a fix for the AIC-7xxx driver to fix the #include it uses for endianity stuff.

drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h +1 -1
diff -urN linux-x86_64/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h linux/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h
@@ -35,7 +35,7 @@
  */
 
 #if linux
-#include <endian.h>
+#include <asm/byteorder.h>
 #else
 #include <machine/endian.h>
 #endif
Signature · 2 lines
Vojtech Pavlik
SuSE Labs