diff options
author | Peter Galbavy <peter@cvs.openbsd.org> | 2000-01-11 18:02:24 +0000 |
---|---|---|
committer | Peter Galbavy <peter@cvs.openbsd.org> | 2000-01-11 18:02:24 +0000 |
commit | 664e80aabbf998c4dced640f7a07dea3eb05d7fb (patch) | |
tree | 5ba16126a92bb54320f99edac4646428b8550b15 /sys/dev/raidframe/rf_diskqueue.c | |
parent | ac29646a074f429b933ff79144d97262e0bc0527 (diff) |
sync with NetBSD
- removed threadid stuff
- removed unused files
- general tidyup
- you can no longer configure the same unit twice (without
de-configuring first of course).
Again, this has only been tested locally on IDE disks. Further testing
and feedback would be appreciated.
Diffstat (limited to 'sys/dev/raidframe/rf_diskqueue.c')
-rw-r--r-- | sys/dev/raidframe/rf_diskqueue.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/raidframe/rf_diskqueue.c b/sys/dev/raidframe/rf_diskqueue.c index 973b511b3d5..a4811343f7e 100644 --- a/sys/dev/raidframe/rf_diskqueue.c +++ b/sys/dev/raidframe/rf_diskqueue.c @@ -1,5 +1,5 @@ -/* $OpenBSD: rf_diskqueue.c,v 1.4 1999/08/04 13:10:54 peter Exp $ */ -/* $NetBSD: rf_diskqueue.c,v 1.7 1999/06/04 01:51:00 oster Exp $ */ +/* $OpenBSD: rf_diskqueue.c,v 1.5 2000/01/11 18:02:21 peter Exp $ */ +/* $NetBSD: rf_diskqueue.c,v 1.8 2000/01/07 03:43:39 oster Exp $ */ /* * Copyright (c) 1995 Carnegie-Mellon University. * All rights reserved. @@ -64,7 +64,6 @@ #include "rf_types.h" #include "rf_threadstuff.h" -#include "rf_threadid.h" #include "rf_raid.h" #include "rf_diskqueue.h" #include "rf_alloclist.h" @@ -354,10 +353,7 @@ rf_DiskIOEnqueue(queue, req, pri) RF_DiskQueueData_t *req; int pri; { - int tid; - RF_ETIMER_START(req->qtime); - rf_get_threadid(tid); RF_ASSERT(req->type == RF_IO_TYPE_NOP || req->numSector); req->priority = pri; |