summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-02-26 22:59:13 +0000
committermiod <miod@openbsd.org>2003-02-26 22:59:13 +0000
commited58ad7d49a99b85b04c6a64306ef0c4a9d7295b (patch)
tree7b8b4894e193cdca72250853ddd1521b529d4d2e
parentTypo/pasto. Spotted by Tim Donahue. (diff)
downloadwireguard-openbsd-ed58ad7d49a99b85b04c6a64306ef0c4a9d7295b.tar.xz
wireguard-openbsd-ed58ad7d49a99b85b04c6a64306ef0c4a9d7295b.zip
Fix symbol clash that would prevent a kernel configured with both ncr5380
drivers to link.
-rw-r--r--sys/arch/mac68k/dev/ncr5380.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mac68k/dev/ncr5380.c b/sys/arch/mac68k/dev/ncr5380.c
index 6e7539089c6..22777cdb5d7 100644
--- a/sys/arch/mac68k/dev/ncr5380.c
+++ b/sys/arch/mac68k/dev/ncr5380.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr5380.c,v 1.19 2002/06/14 21:34:58 todd Exp $ */
+/* $OpenBSD: ncr5380.c,v 1.20 2003/02/26 22:59:13 miod Exp $ */
/* $NetBSD: ncr5380.c,v 1.38 1996/12/19 21:48:18 scottr Exp $ */
/*
@@ -74,11 +74,11 @@ static volatile int main_running = 0;
static u_char busy;
static void ncr5380_minphys(struct buf *bp);
-static int ncr5380_scsi_cmd(struct scsi_xfer *xs);
+static int mac68k_ncr5380_scsi_cmd(struct scsi_xfer *xs);
static void ncr5380_show_scsi_cmd(struct scsi_xfer *xs);
struct scsi_adapter ncr5380_switch = {
- ncr5380_scsi_cmd, /* scsi_cmd() */
+ mac68k_ncr5380_scsi_cmd, /* scsi_cmd() */
ncr5380_minphys, /* scsi_minphys() */
0, /* open_target_lu() */
0 /* close_target_lu() */
@@ -286,7 +286,7 @@ void *auxp;
* Carry out a request from the high level driver.
*/
static int
-ncr5380_scsi_cmd(struct scsi_xfer *xs)
+mac68k_ncr5380_scsi_cmd(struct scsi_xfer *xs)
{
int sps;
SC_REQ *reqp, *link, *tmp;