usb_ecm: Use the current configuration instead of a fixed one.
[haiku.git] / src / add-ons / kernel / drivers / input / ps2_hid / ps2_hid.c
blob3b28c58f5a60e49c1ee1fc70331d553feb458c88
1 /*
2 * Copyright 2005-2009 Haiku, Inc.
3 * Distributed under the terms of the MIT License.
5 * PS/2 hid device driver
7 * Authors (in chronological order):
8 * Marcus Overhagen (marcus@overhagen.de)
9 */
12 #include <KernelExport.h>
13 #include <Drivers.h>
15 #include "PS2.h"
17 #define TRACE(x) dprintf x
20 int32 api_version = B_CUR_DRIVER_API_VERSION;
22 ps2_module_info *gPs2 = NULL;
25 status_t
26 init_hardware(void)
28 TRACE(("ps2_hid: init_hardware\n"));
29 return B_OK;
33 const char **
34 publish_devices(void)
36 TRACE(("ps2_hid: publish_devices\n"));
37 return NULL;
41 device_hooks *
42 find_device(const char *name)
44 TRACE(("ps2_hid: find_device\n"));
45 return NULL;
49 status_t
50 init_driver(void)
52 TRACE(("ps2_hid: init_driver\n"));
53 return get_module(B_PS2_MODULE_NAME, (module_info **)&gPs2);
57 void
58 uninit_driver(void)
60 TRACE(("ps2_hid: uninit_driver\n"));
61 put_module(B_PS2_MODULE_NAME);