Put pciehci.device in DEVS:USBHardware, like the other host-controller
[AROS.git] / workbench / devs / parallel / parallel_support.c
blobb46ac53b300b71195ca97a5915919e95a1fdcc20
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
7 #include <proto/exec.h>
8 #include <exec/tasks.h>
9 #include <exec/lists.h>
10 #include <exec/memory.h>
12 #include "parallel_intern.h"
14 #define DEBUG 0
15 #include <aros/debug.h>
18 struct ParallelUnit * findUnit(struct parallelbase * ParallelDevice,
19 ULONG unitnum)
21 struct ParallelUnit * pu;
22 ForeachNode(&ParallelDevice->UnitList, pu)
24 if (pu->pu_UnitNum == unitnum)
25 return pu;
27 return NULL;