test/library/usereltest.c: Refined test to show that problem is not solved.
[AROS.git] / rom / isapnp / devices.h
bloba5bc87803112561116d39201c5f3edf66d835d9d
1 /* $Id$ */
3 /*
4 ISA-PnP -- A Plug And Play ISA software layer for AmigaOS.
5 Copyright (C) 2001 Martin Blom <martin@blom.org>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public
18 License along with this library; if not, write to the
19 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
20 MA 02139, USA.
23 #ifndef ISA_PNP_devices_h
24 #define ISA_PNP_devices_h
26 #include "CompilerSpecific.h"
28 #include <exec/types.h>
30 struct ISAPNPBase;
31 struct ISAPNP_Card;
32 struct ISAPNP_Device;
34 struct ISAPNP_Card* ASMCALL
35 ISAPNP_FindCard( REG( a0, struct ISAPNP_Card* last_card ),
36 REG( d0, LONG manufacturer ),
37 REG( d1, WORD product ),
38 REG( d2, BYTE revision ),
39 REG( d3, LONG serial ),
40 REG( a6, struct ISAPNPBase* res ) );
43 struct ISAPNP_Device* ASMCALL
44 ISAPNP_FindDevice( REG( a0, struct ISAPNP_Device* last_device ),
45 REG( d0, LONG manufacturer ),
46 REG( d1, WORD product ),
47 REG( d2, BYTE revision ),
48 REG( a6, struct ISAPNPBase* res ) );
52 APTR ASMCALL
53 ISAPNP_LockCardsA( REG( d0, ULONG flags ),
54 REG( a0, struct ISAPNP_Card** cards ),
55 REG( a6, struct ISAPNPBase* res ) );
58 void ASMCALL
59 ISAPNP_UnlockCards( REG( a0, APTR card_lock_handle ),
60 REG( a6, struct ISAPNPBase* res ) );
64 APTR ASMCALL
65 ISAPNP_LockDevicesA( REG( d0, ULONG flags ),
66 REG( a0, struct ISAPNP_Device** devices ),
67 REG( a6, struct ISAPNPBase* res ) );
70 void ASMCALL
71 ISAPNP_UnlockDevices( REG( a0, APTR device_lock_handle ),
72 REG( a6, struct ISAPNPBase* res ) );
74 #endif /* ISA_PNP_devices_h */