aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Schmidt <sos@FreeBSD.org>2004-05-17 17:53:12 +0000
committerSøren Schmidt <sos@FreeBSD.org>2004-05-17 17:53:12 +0000
commit263b4cdea39f4cd74784173bb0878bca4155dd71 (patch)
tree5d98b26fb219fb2747df772fb3fe11b72a732948
parentfb87af2e96725f553155c4cccc5fb5a6aa04a8d8 (diff)
Notes
-rw-r--r--sys/dev/ata/ata-lowlevel.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c
index 8cb56a3afb7e..6c846f84143b 100644
--- a/sys/dev/ata/ata-lowlevel.c
+++ b/sys/dev/ata/ata-lowlevel.c
@@ -288,23 +288,8 @@ ata_generic_interrupt(void *data)
int length;
/* ignore this interrupt if there is no running request */
- if (!request) {
- if (ATA_LOCK_CH(ch)) {
- u_int8_t status = ATA_IDX_INB(ch, ATA_STATUS);
- u_int8_t error = ATA_IDX_INB(ch, ATA_ERROR);
-
- if (bootverbose)
- ata_printf(ch, -1,
- "spurious interrupt - status=0x%02x error=0x%02x\n",
- status, error);
- ATA_UNLOCK_CH(ch);
- }
- else {
- if (bootverbose)
- ata_printf(ch, -1, "spurious interrupt - channel busy\n");
- }
+ if (!request)
return;
- }
ATA_DEBUG_RQ(request, "interrupt");