1/*
2 * Copyright 2005-2007 Marcus Overhagen
3 * Distributed under the terms of the MIT License.
4 *
5 * PS/2 bus manager
6 *
7 * Authors (in chronological order):
8 *		Marcus Overhagen (marcus@overhagen.de)
9 */
10
11
12#include "PS2.h"
13#include "ps2_common.h"
14
15
16static int32
17function1()
18{
19	return 0;
20}
21
22
23static int32
24function2()
25{
26	return 0;
27}
28
29
30static status_t
31std_ops(int32 op, ...)
32{
33	switch(op) {
34		case B_MODULE_INIT:
35			return ps2_init();
36
37		case B_MODULE_UNINIT:
38			ps2_uninit();
39			break;
40		default:
41			return B_ERROR;
42	}
43	return B_OK;
44}
45
46
47static ps2_module_info ps2_module = {
48	{
49		{
50			B_PS2_MODULE_NAME,
51			B_KEEP_LOADED,
52			std_ops
53		},
54		NULL
55	},
56	&function1,
57	&function2,
58};
59
60
61module_info *modules[] = {
62	(module_info *)&ps2_module,
63	NULL
64};
65