Commit 20997344c5e7e0aafff0a5959466a9f82971e40e

Angus Gratton 2013-12-03T18:56:54

Fix bug with drillbit devices not numbering correctly

diff --git a/driver-drillbit.c b/driver-drillbit.c
index d1ca612..6de1ee7 100644
--- a/driver-drillbit.c
+++ b/driver-drillbit.c
@@ -750,7 +750,7 @@ static void drillbit_shutdown(struct thr_info *thr)
 struct device_drv drillbit_drv = {
 	.drv_id = DRIVER_drillbit,
 	.dname = "Drillbit",
-	.name = "Drillbit",
+	.name = "DRB",
 	.drv_detect = drillbit_detect,
         .hash_work = &hash_driver_work,
 	.scanwork = drillbit_scanwork,
diff --git a/usbutils.c b/usbutils.c
index 6f20840..e1251ff 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -354,7 +354,7 @@ static struct usb_find_devices find_dev[] = {
 #ifdef USE_DRILLBIT
 	{
 		.drv = DRIVER_drillbit,
-		.name = "Drillbit",
+		.name = "DRB",
 		.ident = IDENT_DRB,
 		.idVendor = 0x03eb,
 		.idProduct = 0x2404,