Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci revert, not working
details: https://anonhg.NetBSD.org/src/rev/818235e977b0
branches: trunk
changeset: 935397:818235e977b0
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Wed Jul 01 17:57:14 2020 +0000
description:
revert, not working
diffstat:
sys/dev/pci/cmdide.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (34 lines):
diff -r 5b29cb5363b2 -r 818235e977b0 sys/dev/pci/cmdide.c
--- a/sys/dev/pci/cmdide.c Wed Jul 01 15:10:01 2020 +0000
+++ b/sys/dev/pci/cmdide.c Wed Jul 01 17:57:14 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cmdide.c,v 1.44 2020/07/01 15:10:01 jdolecek Exp $ */
+/* $NetBSD: cmdide.c,v 1.45 2020/07/01 17:57:14 jdolecek Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Manuel Bouyer.
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cmdide.c,v 1.44 2020/07/01 15:10:01 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cmdide.c,v 1.45 2020/07/01 17:57:14 jdolecek Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -238,15 +238,9 @@
for (i = 0; i < sc->sc_wdcdev.sc_atac.atac_nchannels; i++) {
cp = &sc->pciide_channels[i];
wdc_cp = &cp->ata_channel;
-
/* If a compat channel skip. */
if (cp->compat)
continue;
-
- /* if this channel not waiting for intr, skip */
- if ((wdc_cp->ch_flags & ATACH_IRQ_WAIT) == 0)
- continue;
-
if ((i == 0 && (priirq & CMD_CONF_DRV0_INTR)) ||
(i == 1 && (secirq & CMD_ARTTIM23_IRQ))) {
crv = wdcintr(wdc_cp);
Home |
Main Index |
Thread Index |
Old Index