changed asm()s to __asm()s.

XXX Now, could someone please explain to me why in the love of Bob a
file containing inline x86 assembler is in sys/dev/isa/????
This should be moved, fixed, or nuked from space.
This commit is contained in:
perry 2002-11-02 02:10:56 +00:00
parent fdc93ee90f
commit c290830eb1
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: seagate.c,v 1.52 2002/10/02 03:10:50 thorpej Exp $ */
/* $NetBSD: seagate.c,v 1.53 2002/11/02 02:10:56 perry Exp $ */
/*
* ST01/02, Future Domain TMC-885, TMC-950 SCSI driver
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: seagate.c,v 1.52 2002/10/02 03:10:50 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: seagate.c,v 1.53 2002/11/02 02:10:56 perry Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -1355,7 +1355,7 @@ sea_information_transfer(sea)
if (!(phase & STAT_IO)) {
#ifdef SEA_ASSEMBLER
caddr_t junk;
asm("cld\n\t\
__asm("cld\n\t\
rep\n\t\
movsl" :
"=S" (scb->data),
@ -1372,7 +1372,7 @@ sea_information_transfer(sea)
} else {
#ifdef SEA_ASSEMBLER
caddr_t junk;
asm("cld\n\t\
__asm("cld\n\t\
rep\n\t\
movsl" :
"=D" (scb->data),