Lines Matching refs:OptionsString
3311 static int __init BusLogic_ParseDriverOptions(char *OptionsString)
3317 while (*OptionsString != '\0' && *OptionsString != ';') {
3319 if (BusLogic_ParseKeyword(&OptionsString, "IO:")) {
3320 unsigned long IO_Address = simple_strtoul(OptionsString, &OptionsString, 0);
3345 } else if (BusLogic_ParseKeyword(&OptionsString, "NoProbeISA"))
3347 else if (BusLogic_ParseKeyword(&OptionsString, "NoProbePCI"))
3349 else if (BusLogic_ParseKeyword(&OptionsString, "NoProbe"))
3351 else if (BusLogic_ParseKeyword(&OptionsString, "NoSortPCI"))
3353 else if (BusLogic_ParseKeyword(&OptionsString, "MultiMasterFirst"))
3355 else if (BusLogic_ParseKeyword(&OptionsString, "FlashPointFirst"))
3358 else if (BusLogic_ParseKeyword(&OptionsString, "QueueDepth:[") || BusLogic_ParseKeyword(&OptionsString, "QD:[")) {
3360 unsigned short QueueDepth = simple_strtoul(OptionsString, &OptionsString, 0);
3366 if (*OptionsString == ',')
3367 OptionsString++;
3368 else if (*OptionsString == ']')
3371 BusLogic_Error("BusLogic: Invalid Driver Options " "(',' or ']' expected at '%s')\n", NULL, OptionsString);
3375 if (*OptionsString != ']') {
3376 BusLogic_Error("BusLogic: Invalid Driver Options " "(']' expected at '%s')\n", NULL, OptionsString);
3379 OptionsString++;
3380 } else if (BusLogic_ParseKeyword(&OptionsString, "QueueDepth:") || BusLogic_ParseKeyword(&OptionsString, "QD:")) {
3381 unsigned short QueueDepth = simple_strtoul(OptionsString, &OptionsString, 0);
3389 } else if (BusLogic_ParseKeyword(&OptionsString, "TaggedQueuing:") || BusLogic_ParseKeyword(&OptionsString, "TQ:")) {
3390 if (BusLogic_ParseKeyword(&OptionsString, "Default")) {
3393 } else if (BusLogic_ParseKeyword(&OptionsString, "Enable")) {
3396 } else if (BusLogic_ParseKeyword(&OptionsString, "Disable")) {
3402 switch (*OptionsString++) {
3414 OptionsString--;
3421 else if (BusLogic_ParseKeyword(&OptionsString, "BusSettleTime:") || BusLogic_ParseKeyword(&OptionsString, "BST:")) {
3422 unsigned short BusSettleTime = simple_strtoul(OptionsString, &OptionsString, 0);
3428 } else if (BusLogic_ParseKeyword(&OptionsString, "InhibitTargetInquiry"))
3431 else if (BusLogic_ParseKeyword(&OptionsString, "TraceProbe"))
3433 else if (BusLogic_ParseKeyword(&OptionsString, "TraceHardwareReset"))
3435 else if (BusLogic_ParseKeyword(&OptionsString, "TraceConfiguration"))
3437 else if (BusLogic_ParseKeyword(&OptionsString, "TraceErrors"))
3439 else if (BusLogic_ParseKeyword(&OptionsString, "Debug")) {
3445 if (*OptionsString == ',')
3446 OptionsString++;
3447 else if (*OptionsString != ';' && *OptionsString != '\0') {
3448 BusLogic_Error("BusLogic: Unexpected Driver Option '%s' " "ignored\n", NULL, OptionsString);
3449 *OptionsString = '\0';
3466 if (*OptionsString == ';')
3467 OptionsString++;
3468 if (*OptionsString == '\0')