From 6a83117174227ba3699b567f1789e2fbfff54d31 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Fri, 18 Jun 2010 14:17:45 +0000 Subject: [PATCH] Following r209299, level interrupts are low by default on PPC, so remove the hack here to reprogram the interrupt for K2 SATA devices. --- sys/dev/ata/chipsets/ata-serverworks.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/sys/dev/ata/chipsets/ata-serverworks.c b/sys/dev/ata/chipsets/ata-serverworks.c index cee56e3681ee..cd6db3d28d73 100644 --- a/sys/dev/ata/chipsets/ata-serverworks.c +++ b/sys/dev/ata/chipsets/ata-serverworks.c @@ -41,9 +41,6 @@ __FBSDID("$FreeBSD$"); #include #include #include -#ifdef __powerpc__ -#include -#endif #include #include #include @@ -220,10 +217,6 @@ ata_serverworks_ch_attach(device_t dev) ch->hw.tf_write = ata_serverworks_tf_write; #ifdef __powerpc__ ch->hw.status = ata_serverworks_status; - - /* Make sure that our interrupt is level low */ - powerpc_config_intr(bus_get_resource_start(device_get_parent(dev), - SYS_RES_IRQ, 0), INTR_TRIGGER_LEVEL, INTR_POLARITY_LOW); #endif if (ctlr->chip->chipid == ATA_K2) {