summaryrefslogtreecommitdiff
path: root/sysutils/toshutils/patches/patch-an
blob: c72c038a70033c8b92e05ee761cde1e4c3cba166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-an,v 1.1 2005/04/23 20:37:18 riz Exp $
--- src/hci.c.orig	2005-04-14 10:44:42.000000000 -0700
+++ src/hci.c	2005-04-14 11:10:30.000000000 -0700
@@ -115,8 +115,8 @@
 		ax = 0x0000;		
 	} else {
 		asm ("inb $0xb2,%%al\n" \
-			:"=ax" (ax), "=bx" (bx), "=cx" (cx), "=dx" (dx) \
-			:"ax" (ax), "bx" (bx), "cx" (cx), "dx" (dx) \
+			:"=a" (ax), "=b" (bx), "=c" (cx), "=d" (dx) \
+			:"a" (ax), "b" (bx), "c" (cx), "d" (dx) \
 			: "memory" );
 	}