summaryrefslogtreecommitdiffstats
path: root/sys/dev/hptrr/hptrr_osm_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/hptrr/hptrr_osm_bsd.c')
-rw-r--r--sys/dev/hptrr/hptrr_osm_bsd.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/hptrr/hptrr_osm_bsd.c b/sys/dev/hptrr/hptrr_osm_bsd.c
index 6a84030..5a1c809 100644
--- a/sys/dev/hptrr/hptrr_osm_bsd.c
+++ b/sys/dev/hptrr/hptrr_osm_bsd.c
@@ -26,7 +26,7 @@
* $FreeBSD$
*/
#include <dev/hptrr/hptrr_config.h>
-/* $Id: osm_bsd.c,v 1.26 2007/02/28 03:53:47 gmm Exp $
+/* $Id: osm_bsd.c,v 1.27 2007/11/22 07:35:49 gmm Exp $
*
* HighPoint RAID Driver for FreeBSD
* Copyright (C) 2005 HighPoint Technologies, Inc. All Rights Reserved.
@@ -262,7 +262,7 @@ static void hpt_flush_done(PCOMMAND pCmd)
{
PVDEV vd = pCmd->target;
- if (mIsArray(vd->Class->type) && vd->u.array.transform && vd!=vd->u.array.transform->target) {
+ if (mIsArray(vd->type) && vd->u.array.transform && vd!=vd->u.array.transform->target) {
vd = vd->u.array.transform->target;
HPT_ASSERT(vd);
pCmd->target = vd;
@@ -288,7 +288,7 @@ static int hpt_flush_vdev(PVBUS_EXT vbus_ext, PVDEV vd)
hpt_lock_vbus(vbus_ext);
- if (mIsArray(vd->Class->type) && vd->u.array.transform)
+ if (mIsArray(vd->type) && vd->u.array.transform)
count = MAX(vd->u.array.transform->source->cmds_per_request,
vd->u.array.transform->target->cmds_per_request);
else
@@ -1014,9 +1014,6 @@ static void hpt_final_init(void *dummy)
PVBUS vbus;
PHBA hba;
-#ifdef SUPPORT_ALL
-/* ldm_fix_him() */
-#endif
/* Clear the config hook */
config_intrhook_disestablish(&hpt_ich);
OpenPOWER on IntegriCloud