summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorGrigoriy Orlov <gluk@cvs.openbsd.org>2002-11-08 11:07:29 +0000
committerGrigoriy Orlov <gluk@cvs.openbsd.org>2002-11-08 11:07:29 +0000
commit3708faccf4051c481ce5c957ee214d01e4a502c7 (patch)
tree9a6778171629c2c338f7d432613fbc1441ee9764 /sys/dev/pci
parent5fdaf8bc55f72d00026ef913c041a85fb30b90cf (diff)
Don't check IRQ assertion since this code was derived from FreeBSD
without any documentation and breaks second channel support. Supplied and tested by grange@rt.mipt.ru. Thanks to Evgeniy Polyakov <johnpol@2ka.mipt.ru> for hardware donation.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pciide.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 6ba5109d8f1..c98b908028c 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.92 2002/10/12 01:09:44 krw Exp $ */
+/* $OpenBSD: pciide.c,v 1.93 2002/11/08 11:07:28 gluk Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -4292,15 +4292,6 @@ pdc20265_pci_intr(arg)
int i, rv, crv;
u_int32_t dmastat;
- /* process our own interrupts only during IRQ sharing */
- if (PDC_IS_268(sc)) {
- bus_space_write_1(sc->sc_dma_iot, sc->sc_dma_ioh,
- PDC268_REG0, 0xb);
- if (!(bus_space_read_1(sc->sc_dma_iot, sc->sc_dma_ioh,
- PDC268_REG1) & 0x20))
- return 0;
- }
-
rv = 0;
for (i = 0; i < sc->sc_wdcdev.nchannels; i++) {
cp = &sc->pciide_channels[i];