summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa/fore_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hfa/fore_command.c')
-rw-r--r--sys/dev/hfa/fore_command.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/hfa/fore_command.c b/sys/dev/hfa/fore_command.c
index 5823a36..75df3ec 100644
--- a/sys/dev/hfa/fore_command.c
+++ b/sys/dev/hfa/fore_command.c
@@ -94,7 +94,6 @@ fore_cmd_allocate(fup)
}
fup->fu_stats = (Fore_stats *) memp;
-#ifdef FORE_PCI
/*
* Allocate memory for PROM buffer
*/
@@ -103,7 +102,6 @@ fore_cmd_allocate(fup)
return (1);
}
fup->fu_prom = (Fore_prom *) memp;
-#endif
return (0);
}
@@ -312,7 +310,6 @@ fore_cmd_drain(fup)
wakeup((caddr_t)&fup->fu_stats);
break;
-#ifdef FORE_PCI
case CMD_GET_PROM:
if (*hcp->hcq_status & QSTAT_ERROR) {
/*
@@ -353,7 +350,6 @@ fore_cmd_drain(fup)
DMA_FREE_ADDR(fup->fu_prom, fup->fu_promd,
sizeof(Fore_prom), 0);
break;
-#endif /* FORE_PCI */
default:
log(LOG_ERR, "fore_cmd_drain: unknown command %ld\n",
@@ -418,7 +414,6 @@ fore_cmd_free(fup)
fup->fu_stats = NULL;
}
-#ifdef FORE_PCI
/*
* Free the PROM buffer
*/
@@ -426,7 +421,6 @@ fore_cmd_free(fup)
atm_dev_free(fup->fu_prom);
fup->fu_prom = NULL;
}
-#endif
/*
* Free the status words
OpenPOWER on IntegriCloud