• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/Micromax/Linux/driver/doshift/

Lines Matching refs:SHOW_PROGRESS

19 #define SHOW_PROGRESS if (show_progress) printf
300 SHOW_PROGRESS("No default vendor/product ID given. Aborting.\n\n");
313 SHOW_PROGRESS("\n");
321 SHOW_PROGRESS("Looking for target devices ...\n");
324 SHOW_PROGRESS(" Found devices in target mode or class (%d)\n", targetDeviceCount);
326 SHOW_PROGRESS(" No devices in target mode or class found\n");
330 SHOW_PROGRESS("Looking for default devices ...\n");
333 SHOW_PROGRESS(" Found default devices (%d)\n", numDefaults);
336 SHOW_PROGRESS(" Found a default device NOT in target class mode\n");
338 SHOW_PROGRESS(" All devices in target class mode. Nothing to do. Bye.\n\n");
346 SHOW_PROGRESS("Accessing device %03d on bus %03d ...\n", devnum, busnum);
349 SHOW_PROGRESS(" No default device found. Is it connected? Bye.\n\n");
360 SHOW_PROGRESS("Ambiguous Class/InterfaceClass: 0x%02x/0x08", defaultClass);
366 // SHOW_PROGRESS(" Finding endpoints ...\n");
381 SHOW_PROGRESS("Using endpoints 0x%02x (out) and 0x%02x (in)\n", MessageEndpoint, ResponseEndpoint);
384 SHOW_PROGRESS("Endpoints not found, skipping SCSI inquiry\n");
390 SHOW_PROGRESS("Inquiring device details; driver will be detached ...\n");
395 SHOW_PROGRESS("Not a storage device, skipping SCSI inquiry\n");
411 SHOW_PROGRESS("Invalid mode combination. Check your configuration. Aborting.\n\n");
416 SHOW_PROGRESS("Warning: no switching method given.\n");
428 SHOW_PROGRESS("Only detaching storage driver for switching ...\n");
430 SHOW_PROGRESS(" Any driver was already detached for inquiry\n");
434 SHOW_PROGRESS(" You may want to remove the storage driver manually\n");
444 SHOW_PROGRESS("Warning: ignoring MessageContent. Can't combine with special mode\n");
477 SHOW_PROGRESS("-> device should be stable now. Bye.\n\n");
481 SHOW_PROGRESS("-> switching was probably not completed. Bye.\n\n");
484 SHOW_PROGRESS("-> Run lsusb to note any changes. Bye.\n\n");
561 SHOW_PROGRESS(" Could not claim interface (error %d). Skipping device inquiry\n", ret);
568 SHOW_PROGRESS(" Could not send INQUIRY message (error %d)\n", ret);
574 SHOW_PROGRESS(" Could not get INQUIRY response (error %d)\n", ret);
628 SHOW_PROGRESS("\n Reset failed. Can be ignored if device switched OK.\n");
630 SHOW_PROGRESS("\n OK, device was reset\n");
638 SHOW_PROGRESS("Setting up communication with interface %d ...\n", Interface);
642 SHOW_PROGRESS(" Could not claim interface (error %d). Skipping message sending\n", ret);
647 SHOW_PROGRESS("Trying to send the message to endpoint 0x%02x ...\n", MessageEndpoint);
656 SHOW_PROGRESS("Reading the response to the message ...\n");
671 SHOW_PROGRESS(" Device is gone, skipping any further commands\n");
682 SHOW_PROGRESS("Changing configuration to %i ...\n", Configuration);
685 SHOW_PROGRESS(" OK, configuration set\n");
688 SHOW_PROGRESS(" Setting the configuration returned error %d. Trying to continue\n", ret);
697 SHOW_PROGRESS("Changing to alt setting %i ...\n", AltSetting);
702 SHOW_PROGRESS(" Changing to alt setting returned error %d. Trying to continue\n", ret);
705 SHOW_PROGRESS(" OK, changed to alt setting\n");
720 SHOW_PROGRESS("Looking for active driver ...\n");
723 SHOW_PROGRESS(" No driver found. Either detached before or never attached\n");
726 SHOW_PROGRESS(" OK, driver found (\"%s\")\n", buffer);
728 SHOW_PROGRESS(" Warning: driver is not usb-storage\n");
733 SHOW_PROGRESS(" Can't do driver detaching on this platform\n");
740 SHOW_PROGRESS(" OK, driver \"%s\" detached\n", buffer);
744 SHOW_PROGRESS(" Driver \"%s\" detach failed with error %d. Trying to continue\n", buffer, ret);
754 SHOW_PROGRESS("\nChecking for mode switch (max. %d times, once per second) ...\n", CheckSuccess);
762 SHOW_PROGRESS(" Waiting for original device to vanish ...\n");
766 SHOW_PROGRESS(" Original device can't be accessed anymore. Good.\n");
768 SHOW_PROGRESS(" If you want target checking, increase 'CheckSuccess' value.\n");
776 SHOW_PROGRESS(" Original device still present after the timeout\n\nMode switch most likely failed. Bye.\n\n");
781 SHOW_PROGRESS(" Original device is gone already, not checking\n");
790 SHOW_PROGRESS(" Searching for target devices ...\n");
807 SHOW_PROGRESS(" Found correct target device\n\nMode switch succeeded. Bye.\n\n");
812 SHOW_PROGRESS(" No new devices in target mode or class found\n\nMode switch has failed. Bye.\n\n");
819 SHOW_PROGRESS(" (For a better success check provide target IDs or class)\n");
820 SHOW_PROGRESS(" Original device vanished after switching\n\nMode switch most likely succeeded. Bye.\n\n");
849 SHOW_PROGRESS(" OK, message successfully sent\n");
852 SHOW_PROGRESS(" Device seems to have vanished right after sending. Good.\n");
854 SHOW_PROGRESS(" Sending the message returned error %d. Trying to continue\n", ret);
865 SHOW_PROGRESS(" OK, response successfully read (%d bytes).\n", ret);
868 SHOW_PROGRESS(" Device seems to have vanished after reading. Good.\n");
870 SHOW_PROGRESS(" Response reading got error %d, can probably be ignored\n", ret);
876 SHOW_PROGRESS("Program cancelled by system. Bye.\n\n");
920 SHOW_PROGRESS("Error: entry in product ID list has wrong length: %s. Ignoring\n", token);
924 SHOW_PROGRESS("Error: entry in product ID list is not a hex string: %s. Ignoring\n", token);