svn commit: r209300 - head/sys/dev/ata/chipsets
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Fri Jun 18 14:17:46 UTC 2010
Author: nwhitehorn
Date: Fri Jun 18 14:17:45 2010
New Revision: 209300
URL: http://svn.freebsd.org/changeset/base/209300
Log:
Following r209299, level interrupts are low by default on PPC, so remove
the hack here to reprogram the interrupt for K2 SATA devices.
Modified:
head/sys/dev/ata/chipsets/ata-serverworks.c
Modified: head/sys/dev/ata/chipsets/ata-serverworks.c
==============================================================================
--- head/sys/dev/ata/chipsets/ata-serverworks.c Fri Jun 18 14:16:24 2010 (r209299)
+++ head/sys/dev/ata/chipsets/ata-serverworks.c Fri Jun 18 14:17:45 2010 (r209300)
@@ -41,9 +41,6 @@ __FBSDID("$FreeBSD$");
#include <sys/sema.h>
#include <sys/taskqueue.h>
#include <vm/uma.h>
-#ifdef __powerpc__
-#include <machine/intr_machdep.h>
-#endif
#include <machine/stdarg.h>
#include <machine/resource.h>
#include <machine/bus.h>
@@ -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) {
More information about the svn-src-head
mailing list