2 Copyright © 2003-2006, The AROS Development Team. All rights reserved.
6 #include <aros/debug.h>
7 #include <aros/symbolsets.h>
9 #include <exec/execbase.h>
10 #include <exec/types.h>
11 #include <exec/memory.h>
12 #include <exec/lists.h>
16 #include <utility/utility.h>
18 #include <proto/exec.h>
19 #include <proto/oop.h>
20 #include <aros/debug.h>
23 #include LC_LIBDEFS_FILE
25 static int PCIPrometheus_Expunge(LIBBASETYPEPTR LIBBASE
)
29 OOP_Object
*pci
= OOP_NewObject(NULL
, CLID_Hidd_PCI
, NULL
);
32 struct pHidd_PCI_RemHardwareDriver msg
, *pmsg
=&msg
;
34 msg
.mID
= OOP_GetMethodID(IID_Hidd_PCI
, moHidd_PCI_RemHardwareDriver
);
35 msg
.driverClass
= LIBBASE
->psd
.driverClass
;
37 ok
= OOP_DoMethod(pci
, (OOP_Msg
)pmsg
);
39 OOP_DisposeObject(pci
);
47 ADD2EXPUNGELIB(PCIPrometheus_Expunge
, 0)
48 ADD2LIBS("pci.hidd", 0, static struct Library
*, __pcihidd
)