Make these compile when SIOP_DEBUG is enabled, by nuking the reference to
t_offset, which no longer seems to exist.
This commit is contained in:
parent
9f4a7c8c31
commit
a68eec4cf9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: esiop.c,v 1.36 2006/09/29 14:28:46 christos Exp $ */
|
||||
/* $NetBSD: esiop.c,v 1.37 2006/11/02 14:55:04 garbled Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Manuel Bouyer.
|
||||
|
@ -33,7 +33,7 @@
|
|||
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.36 2006/09/29 14:28:46 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: esiop.c,v 1.37 2006/11/02 14:55:04 garbled Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1991,12 +1991,10 @@ esiop_morecbd(sc)
|
|||
TAILQ_INSERT_TAIL(&sc->free_list, &newcbd->cmds[i], next);
|
||||
splx(s);
|
||||
#ifdef SIOP_DEBUG
|
||||
printf("tables[%d]: in=0x%x out=0x%x status=0x%x "
|
||||
"offset=0x%x\n", i,
|
||||
printf("tables[%d]: in=0x%x out=0x%x status=0x%x\n", i
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_msgin.addr),
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_msgout.addr),
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_status.addr,
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_offset.addr));
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_status.addr));
|
||||
#endif
|
||||
}
|
||||
s = splbio();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: siop.c,v 1.80 2005/12/24 23:41:33 perry Exp $ */
|
||||
/* $NetBSD: siop.c,v 1.81 2006/11/02 14:55:04 garbled Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Manuel Bouyer.
|
||||
|
@ -33,7 +33,7 @@
|
|||
/* SYM53c7/8xx PCI-SCSI I/O Processors driver */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.80 2005/12/24 23:41:33 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: siop.c,v 1.81 2006/11/02 14:55:04 garbled Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -1740,12 +1740,10 @@ siop_morecbd(sc)
|
|||
TAILQ_INSERT_TAIL(&sc->free_list, &newcbd->cmds[i], next);
|
||||
splx(s);
|
||||
#ifdef SIOP_DEBUG
|
||||
printf("tables[%d]: in=0x%x out=0x%x status=0x%x "
|
||||
"offset=0x%x\n", i,
|
||||
printf("tables[%d]: in=0x%x out=0x%x status=0x%x\n", i
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_msgin.addr),
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_msgout.addr),
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_status.addr),
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_offset.addr));
|
||||
le32toh(newcbd->cmds[i].cmd_tables->t_status.addr));
|
||||
#endif
|
||||
}
|
||||
s = splbio();
|
||||
|
|
Loading…
Reference in New Issue