Module Name: src Committed By: andvar Date: Sun Dec 17 22:07:34 UTC 2023
Modified Files: src/sys/arch/x68k/dev: mha.c Log Message: Pass periph_target from xs->xs_periph, since periph is not defined. Fixes SPC_DEBUG build option. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/x68k/dev/mha.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x68k/dev/mha.c diff -u src/sys/arch/x68k/dev/mha.c:1.59 src/sys/arch/x68k/dev/mha.c:1.60 --- src/sys/arch/x68k/dev/mha.c:1.59 Tue Dec 5 22:24:40 2023 +++ src/sys/arch/x68k/dev/mha.c Sun Dec 17 22:07:34 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: mha.c,v 1.59 2023/12/05 22:24:40 andvar Exp $ */ +/* $NetBSD: mha.c,v 1.60 2023/12/17 22:07:34 andvar Exp $ */ /*- * Copyright (c) 1996-1999 The NetBSD Foundation, Inc. @@ -59,7 +59,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mha.c,v 1.59 2023/12/05 22:24:40 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mha.c,v 1.60 2023/12/17 22:07:34 andvar Exp $"); #include "opt_ddb.h" @@ -683,7 +683,7 @@ mha_scsi_request(struct scsipi_channel * SPC_TRACE(("[mha_scsi_cmd] ")); SPC_CMDS(("[0x%x, %d]->%d ", (int)xs->cmd->opcode, xs->cmdlen, - periph->periph_target)); + xs->xs_periph->periph_target)); flags = xs->xs_control;