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/ad2e728dc883
branches: trunk
changeset: 973457:ad2e728dc883
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 e5d8c1f87b24 -r ad2e728dc883 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