2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
5 Desc: Add a ConfigDev struct to the system.
8 #include "expansion_intern.h"
9 #include <proto/exec.h>
11 /*****************************************************************************
14 #include <libraries/configvars.h>
15 #include <proto/expansion.h>
17 AROS_LH1(void, AddConfigDev
,
20 AROS_LHA(struct ConfigDev
*, configDev
, A0
),
23 struct ExpansionBase
*, ExpansionBase
, 5, Expansion
)
26 This function will add a ConfigDev structure to the systems
27 list of Configuration Devices. This function is not normally
31 configDev - The Configuration Device to add to the system.
34 The device will be added to the system.
48 27-11-96 digulla automatically created from
49 expansion_lib.fd and clib/expansion_protos.h
51 *****************************************************************************/
57 ObtainConfigBinding();
58 AddTail(&IntExpBase(ExpansionBase
)->BoardList
,
59 (struct Node
*)configDev
);
60 ReleaseConfigBinding();