aboutsummaryrefslogtreecommitdiffstats
path: root/drv_USBHUB.c
diff options
context:
space:
mode:
Diffstat (limited to 'drv_USBHUB.c')
-rw-r--r--drv_USBHUB.c30
1 files changed, 8 insertions, 22 deletions
diff --git a/drv_USBHUB.c b/drv_USBHUB.c
index a98d50f..4e3eb70 100644
--- a/drv_USBHUB.c
+++ b/drv_USBHUB.c
@@ -1,4 +1,5 @@
-/* $Id: drv_USBHUB.c,v 1.4 2006/08/14 19:24:22 harbaum Exp $
+/* $Id: drv_USBHUB.c 728 2007-01-14 11:14:38Z michael $
+ * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_USBHUB.c $
*
* new style driver for USBLCD displays
*
@@ -23,21 +24,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
- *
- * $Log: drv_USBHUB.c,v $
- * Revision 1.4 2006/08/14 19:24:22 harbaum
- * Umlaut support, added KVV HTTP-User-Agent
- *
- * Revision 1.3 2006/08/14 05:54:04 reinelt
- * minor warnings fixed, CFLAGS changed (no-strict-aliasing)
- *
- * Revision 1.2 2006/08/13 06:46:51 reinelt
- * T6963 soft-timing & enhancements; indent
- *
- * Revision 1.1 2006/08/08 19:35:22 reinelt
- * USBHUB driver from Ernst Bachmann
- *
- *
*/
/*
@@ -122,7 +108,7 @@ static int drv_UH_open(void)
(v & 0xF000) >> 12, (v & 0xF00) >> 8, (v & 0xF0) >> 4, (v & 0xF), bus->dirname, dev->filename);
if (dev->descriptor.bDeviceClass != USB_CLASS_HUB) {
- error("%s: the specified device claims to be no HUB");
+ error("%s: the specified device claims to be no HUB", Name);
return -1;
}
@@ -197,11 +183,11 @@ static int drv_UH_start(const char *section, const __attribute__ ((unused))
buf = cfg_get(section, "Vendor", NULL);
if (buf) {
if (!*buf) {
- error("%s: Strange Vendor Specification");
+ error("%s: Strange Vendor Specification", Name);
return -1;
}
if (sscanf(buf, "0x%x", &hubVendor) != 1) {
- error("%s: Strange Vendor Specification: [%s]", buf);
+ error("%s: Strange Vendor Specification: [%s]", Name, buf);
return -1;
}
}
@@ -209,11 +195,11 @@ static int drv_UH_start(const char *section, const __attribute__ ((unused))
buf = cfg_get(section, "Product", NULL);
if (buf) {
if (!*buf) {
- error("%s: Strange Product Specification");
+ error("%s: Strange Product Specification", Name);
return -1;
}
if (sscanf(buf, "0x%x", &hubProduct) != 1) {
- error("%s: Strange Product Specification: [%s]", buf);
+ error("%s: Strange Product Specification: [%s]", Name, buf);
return -1;
}
}
@@ -282,7 +268,7 @@ int drv_UH_init(const char *section, const int quiet)
int ret;
int i;
- info("%s: %s", Name, "$Revision: 1.4 $");
+ info("%s: %s", Name, "$Rev: 728 $");