[TG3]: Set minimal hw interrupt mitigation.
[linux-2.6/verdex.git] / drivers / net / irda / sir_core.c
bloba49f910c835b6adec764bdb372dfe7cbe793baf9
1 /*********************************************************************
3 * sir_core.c: module core for irda-sir abstraction layer
5 * Copyright (c) 2002 Martin Diehl
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
12 ********************************************************************/
14 #include <linux/module.h>
15 #include <linux/kernel.h>
16 #include <linux/init.h>
18 #include <net/irda/irda.h>
20 #include "sir-dev.h"
22 /***************************************************************************/
24 MODULE_AUTHOR("Martin Diehl <info@mdiehl.de>");
25 MODULE_DESCRIPTION("IrDA SIR core");
26 MODULE_LICENSE("GPL");
28 /***************************************************************************/
30 EXPORT_SYMBOL(irda_register_dongle);
31 EXPORT_SYMBOL(irda_unregister_dongle);
33 EXPORT_SYMBOL(sirdev_get_instance);
34 EXPORT_SYMBOL(sirdev_put_instance);
36 EXPORT_SYMBOL(sirdev_set_dongle);
37 EXPORT_SYMBOL(sirdev_write_complete);
38 EXPORT_SYMBOL(sirdev_receive);
40 EXPORT_SYMBOL(sirdev_raw_write);
41 EXPORT_SYMBOL(sirdev_raw_read);
42 EXPORT_SYMBOL(sirdev_set_dtr_rts);
44 static int __init sir_core_init(void)
46 return irda_thread_create();
49 static void __exit sir_core_exit(void)
51 irda_thread_join();
54 module_init(sir_core_init);
55 module_exit(sir_core_exit);