speedtch speedtch.c,1.41,1.42

Duncan Sands duncan at infradead.org
Fri Apr 8 11:05:47 EDT 2005


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv26605

Modified Files:
	speedtch.c 
Log Message:
Snapshot.  I'm connected through it right now, so it clearly more or less
works!  Problems:
(1) line status stuff not yet done.
(2) doesn't release interfaces in disconnect (just NULLs out their data) since
this seems to do something nasty to the kernel.


Index: speedtch.c
===================================================================
RCS file: /home/cvs/speedtch/speedtch.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- speedtch.c	8 Apr 2005 07:29:58 -0000	1.41
+++ speedtch.c	8 Apr 2005 15:05:44 -0000	1.42
@@ -42,37 +42,30 @@
 #include <linux/init.h>
 #include <linux/firmware.h>
 
-#include "usb_atm.h"
-
-#if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
-#	define USE_FW_LOADER
-#endif
+#include "usbatm.h"
 
 #define DRIVER_AUTHOR	"Johan Verrept, Duncan Sands <duncan.sands at free.fr>"
[...1315 lines suppressed...]
+static int speedtch_usb_probe(struct usb_interface *intf, const struct usb_device_id *id)
+{
+	return usbatm_usb_probe(intf, id, &speedtch_usbatm_driver);
+}
+
 static int __init speedtch_usb_init(void)
 {
-	dbg("speedtch_usb_init: driver version " DRIVER_VERSION);
+	dbg("%s: driver version %s", __func__, DRIVER_VERSION);
 
 	return usb_register(&speedtch_usb_driver);
 }
 
 static void __exit speedtch_usb_cleanup(void)
 {
-	dbg("speedtch_usb_cleanup entered");
+	dbg("%s", __func__);
 
 	usb_deregister(&speedtch_usb_driver);
 }




More information about the Usbatm-commits mailing list