patch-2.4.22 linux-2.4.22/net/irda/irda_device.c
Next file: linux-2.4.22/net/irda/iriap_event.c
Previous file: linux-2.4.22/net/irda/ircomm/ircomm_tty_attach.c
Back to the patch index
Back to the overall index
- Lines: 37
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/irda/irda_device.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/net/irda/irda_device.c linux-2.4.22/net/irda/irda_device.c
@@ -68,6 +68,7 @@
extern int girbil_init(void);
extern int sa1100_irda_init(void);
extern int ep7211_ir_init(void);
+extern int mcp2120_init(void);
static void __irda_task_delete(struct irda_task *task);
@@ -122,6 +123,9 @@
/*
* Call the init function of the device drivers that has not been
* compiled as a module
+ * Note : non-modular IrDA is not supported in 2.4.X, so don't
+ * waste too much time fixing this code. If you require it, please
+ * upgrade to the IrDA stack in 2.5.X. Jean II
*/
#ifdef CONFIG_IRTTY_SIR
irtty_init();
@@ -135,7 +139,7 @@
#ifdef CONFIG_NSC_FIR
nsc_ircc_init();
#endif
-#ifdef CONFIG_TOSHIBA_FIR
+#ifdef CONFIG_TOSHIBA_OLD
toshoboe_init();
#endif
#ifdef CONFIG_SMC_IRCC_FIR
@@ -162,6 +166,9 @@
#ifdef CONFIG_EP7211_IR
ep7211_ir_init();
#endif
+#ifdef CONFIG_MCP2120_DONGLE
+ mcp2120_init();
+#endif
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)