Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci remove conditional portion that was wrong and al...
details: https://anonhg.NetBSD.org/src/rev/db9eaafe688e
branches: trunk
changeset: 455362:db9eaafe688e
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 15 19:29:58 2019 +0000
description:
remove conditional portion that was wrong and always false.
diffstat:
sys/dev/pci/isp_pci.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (38 lines):
diff -r 7af1a9c08505 -r db9eaafe688e sys/dev/pci/isp_pci.c
--- a/sys/dev/pci/isp_pci.c Tue Oct 15 18:50:44 2019 +0000
+++ b/sys/dev/pci/isp_pci.c Tue Oct 15 19:29:58 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_pci.c,v 1.120 2018/12/09 11:14:02 jdolecek Exp $ */
+/* $NetBSD: isp_pci.c,v 1.121 2019/10/15 19:29:58 christos Exp $ */
/*
* Copyright (C) 1997, 1998, 1999 National Aeronautics & Space Administration
* All rights reserved.
@@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: isp_pci.c,v 1.120 2018/12/09 11:14:02 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: isp_pci.c,v 1.121 2019/10/15 19:29:58 christos Exp $");
#include <dev/ic/isp_netbsd.h>
#include <dev/pci/pcireg.h>
@@ -1137,8 +1137,7 @@
uint16_t rv, oc = 0;
struct isp_pcisoftc *pcs = (struct isp_pcisoftc *) isp;
- if ((regoff & _BLK_REG_MASK) == SXP_BLOCK ||
- (regoff & _BLK_REG_MASK) == (SXP_BLOCK|SXP_BANK1_SELECT)) {
+ if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {
uint16_t tc;
/*
* We will assume that someone has paused the RISC processor.
@@ -1168,8 +1167,7 @@
struct isp_pcisoftc *pcs = (struct isp_pcisoftc *) isp;
int oc = 0;
- if ((regoff & _BLK_REG_MASK) == SXP_BLOCK ||
- (regoff & _BLK_REG_MASK) == (SXP_BLOCK|SXP_BANK1_SELECT)) {
+ if ((regoff & _BLK_REG_MASK) == SXP_BLOCK) {
uint16_t tc;
/*
* We will assume that someone has paused the RISC processor.
Home |
Main Index |
Thread Index |
Old Index