Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/raidframe Nuke 'numPending' from the RF_RaidAccessDe...
details: https://anonhg.NetBSD.org/src/rev/8125efdfe025
branches: trunk
changeset: 536425:8125efdfe025
user: oster <oster%NetBSD.org@localhost>
date: Sun Sep 15 19:25:07 2002 +0000
description:
Nuke 'numPending' from the RF_RaidAccessDesc_s structure, and minor cleanup.
diffstat:
sys/dev/raidframe/rf_desc.h | 9 +++------
sys/dev/raidframe/rf_driver.c | 5 ++---
2 files changed, 5 insertions(+), 9 deletions(-)
diffs (49 lines):
diff -r 6f290751122c -r 8125efdfe025 sys/dev/raidframe/rf_desc.h
--- a/sys/dev/raidframe/rf_desc.h Sun Sep 15 17:44:33 2002 +0000
+++ b/sys/dev/raidframe/rf_desc.h Sun Sep 15 19:25:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_desc.h,v 1.6 2001/10/04 15:58:52 oster Exp $ */
+/* $NetBSD: rf_desc.h,v 1.7 2002/09/15 19:25:07 oster Exp $ */
/*
* Copyright (c) 1995 Carnegie-Mellon University.
* All rights reserved.
@@ -101,11 +101,8 @@
RF_RaidAccessDesc_t *next;
RF_RaidAccessDesc_t *head;
- int numPending;
-
- RF_DECLARE_MUTEX(mutex) /* these are used to implement
- * blocking I/O */
- RF_DECLARE_COND(cond)
+ RF_DECLARE_MUTEX(mutex) /* these are used to implement blocking I/O */
+ RF_DECLARE_COND(cond)
int async_flag;
RF_Etimer_t timer; /* used for timing this access */
diff -r 6f290751122c -r 8125efdfe025 sys/dev/raidframe/rf_driver.c
--- a/sys/dev/raidframe/rf_driver.c Sun Sep 15 17:44:33 2002 +0000
+++ b/sys/dev/raidframe/rf_driver.c Sun Sep 15 19:25:07 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_driver.c,v 1.58 2002/09/14 17:53:58 oster Exp $ */
+/* $NetBSD: rf_driver.c,v 1.59 2002/09/15 19:25:07 oster Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -73,7 +73,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.58 2002/09/14 17:53:58 oster Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rf_driver.c,v 1.59 2002/09/15 19:25:07 oster Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -604,7 +604,6 @@
desc->callbackArg = NULL;
desc->next = NULL;
desc->head = desc;
- desc->numPending = 0;
desc->cleanupList = NULL;
rf_MakeAllocList(desc->cleanupList);
return (desc);
Home |
Main Index |
Thread Index |
Old Index