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:
parent
fdc93ee90f
commit
c290830eb1
|
@ -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
|
* ST01/02, Future Domain TMC-885, TMC-950 SCSI driver
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -1355,7 +1355,7 @@ sea_information_transfer(sea)
|
||||||
if (!(phase & STAT_IO)) {
|
if (!(phase & STAT_IO)) {
|
||||||
#ifdef SEA_ASSEMBLER
|
#ifdef SEA_ASSEMBLER
|
||||||
caddr_t junk;
|
caddr_t junk;
|
||||||
asm("cld\n\t\
|
__asm("cld\n\t\
|
||||||
rep\n\t\
|
rep\n\t\
|
||||||
movsl" :
|
movsl" :
|
||||||
"=S" (scb->data),
|
"=S" (scb->data),
|
||||||
|
@ -1372,7 +1372,7 @@ sea_information_transfer(sea)
|
||||||
} else {
|
} else {
|
||||||
#ifdef SEA_ASSEMBLER
|
#ifdef SEA_ASSEMBLER
|
||||||
caddr_t junk;
|
caddr_t junk;
|
||||||
asm("cld\n\t\
|
__asm("cld\n\t\
|
||||||
rep\n\t\
|
rep\n\t\
|
||||||
movsl" :
|
movsl" :
|
||||||
"=D" (scb->data),
|
"=D" (scb->data),
|
||||||
|
|
Loading…
Reference in New Issue