369a370,392
> /*
>  *  look for a card whose version contains 'idstr'
>  */
> int
> pcmgrep(char *idstr)
> {
> 	PCMslot *pp;
> 	extern char *strstr(char*, char*);
> 	int i;
> 
> 	for(i=0; i<nslot; i++ ) {
> 		pp = &slot[i];
> 		if(pp->occupied) {
> 			if(strstr(pp->verstr, idstr)){
> 				return i;
> 			}
> 		}
> 	}
> 	return -1;
> }
> 
> 
> 
