Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 18, 2011 18:12
Show Gist options
  • Select an option

  • Save dileks/925837 to your computer and use it in GitHub Desktop.

Select an option

Save dileks/925837 to your computer and use it in GitHub Desktop.
edwin config: Fix for BROKEN scsi/in2000 (suggested by pipacs)
diff --git a/drivers/scsi/in2000.h b/drivers/scsi/in2000.h
index 5821e1f..4252ed1 100644
--- a/drivers/scsi/in2000.h
+++ b/drivers/scsi/in2000.h
@@ -87,7 +87,7 @@ int __dummy_1,__dummy_2; \
orl %%ecx, %%ecx \n \
jz 1f \n \
rep \n \
- outsw %%ds:(%%esi),(%%dx) \n \
+ outsw %%ds:(%%esi),%%dx \n \
1: " \
: "=S" (sp) ,"=c" (__dummy_1) ,"=d" (__dummy_2)/* output */ \
: "2" (f), "0" (sp), "1" (i) /* input */ \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment