|
@@ -249,7 +249,8 @@ static inline int ap_test_config(unsigned int *field, unsigned int nr)
|
|
|
static inline int ap_test_config_card_id(unsigned int id)
|
|
static inline int ap_test_config_card_id(unsigned int id)
|
|
|
{
|
|
{
|
|
|
if (!ap_configuration) /* QCI not supported */
|
|
if (!ap_configuration) /* QCI not supported */
|
|
|
- return 1;
|
|
|
|
|
|
|
+ /* only ids 0...3F may be probed */
|
|
|
|
|
+ return id < 0x40 ? 1 : 0;
|
|
|
return ap_test_config(ap_configuration->apm, id);
|
|
return ap_test_config(ap_configuration->apm, id);
|
|
|
}
|
|
}
|
|
|
|
|
|