2013-09-26 17:14:40 +02:00

15 lines
462 B
Plaintext

$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" );
}