diff options
author | Peter Galbavy <peter@cvs.openbsd.org> | 1999-08-04 13:10:56 +0000 |
---|---|---|
committer | Peter Galbavy <peter@cvs.openbsd.org> | 1999-08-04 13:10:56 +0000 |
commit | 4bdfc959003ab5d1663346afaa5efee1524b5ce1 (patch) | |
tree | e283cd36d57a71285189ef742e115f20932c082d /sys/dev/raidframe/rf_driver.c | |
parent | 9c89494f84a3d5b5454469425101a8d6b68d95d2 (diff) |
* remove redundant rf_ccmn.h
* remove init call to rf_ConfigureEtimer() and rf_sys.c in which it is the
only function. update conf/files to reflect this.
* update sources to make sure _KERNEL is used not KERNEL
* change rf_etimer.h to protect macros an include of sys/kernel.h with
a check for _KERNEL - let raidctl compile again.
Diffstat (limited to 'sys/dev/raidframe/rf_driver.c')
-rw-r--r-- | sys/dev/raidframe/rf_driver.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/raidframe/rf_driver.c b/sys/dev/raidframe/rf_driver.c index 887d16d44c2..683ad4ee29f 100644 --- a/sys/dev/raidframe/rf_driver.c +++ b/sys/dev/raidframe/rf_driver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rf_driver.c,v 1.4 1999/08/03 13:56:37 peter Exp $ */ +/* $OpenBSD: rf_driver.c,v 1.5 1999/08/04 13:10:54 peter Exp $ */ /* $NetBSD: rf_driver.c,v 1.12 1999/07/19 01:36:07 oster Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -441,7 +441,6 @@ rf_Configure(raidPtr, cfgPtr) rf_clear_debug_print_buffer(); DO_INIT_CONFIGURE(rf_ConfigureAllocList); - DO_INIT_CONFIGURE(rf_ConfigureEtimer); /* * Yes, this does make debugging general to the whole system instead * of being array specific. Bummer, drag. @@ -746,14 +745,14 @@ bp_in is a buf pointer. void * to facilitate ignoring it outside the kernel IO_BUF_ERR(bp, EINVAL, raidPtr->raidid); return (EINVAL); } -#if defined(KERNEL) && DFSTRACE > 0 +#if defined(_KERNEL) && DFSTRACE > 0 if (rf_DFSTraceAccesses) { dfsrecord.raidAddr = raidAddress; dfsrecord.numBlocks = numBlocks; dfsrecord.type = type; dfs_log(DFS_NOTE, (char *) &dfsrecord, sizeof(dfsrecord), 0); } -#endif /* KERNEL && DFSTRACE > 0 */ +#endif /* _KERNEL && DFSTRACE > 0 */ rf_get_threadid(tid); if (rf_accessDebug) { @@ -1026,7 +1025,7 @@ rf_PrintThroughputStats(RF_Raid_t * raidPtr) / (raidPtr->throughputstats.sum_io_us / 1000000.0)); } } -#endif /* !KERNEL && !SIMULATE */ +#endif /* !_KERNEL && !SIMULATE */ void rf_StartUserStats(RF_Raid_t * raidPtr) |