FreeBSD/sys/dev/pccard/pccard.c
/**
 * @brief pccard_select_cfe
 *
 * Select a cfe entry to use.  Should be called from the pccard's probe
 * routine after it knows for sure that it wants this card.
 *
 * XXX I think we need to make this symbol be static, ala the kobj stuff
 * we do for everything else.  This is a quick hack.
 */
@brief pccard_select_cfe
Select a cfe entry to use.  Should be called from the pccard's probe
routine after it knows for sure that it wants this card.

XXX I think we need to make this symbol be static, ala the kobj stuff
we do for everything else.  This is a quick hack.
@brief pccard_select_cfe Select a cfe entry to use . Should be called from the pccard ' s probe routine after it knows for sure that it wants this card . XXX I think we need to make this symbol be static ala the kobj stuff we do for everything else . This is a quick hack .
int
pccard_select_cfe(device_t dev, int entry)
{
	struct pccard_ivar *devi = PCCARD_IVAR(dev);
	struct pccard_function *pf = devi->pf;
	pccard_function_init(pf, entry);
	return (pf->cfe ? 0 : ENOMEM);
}
int pccard_select_cfe ( device_t dev , int entry ) { struct pccard_ivar * devi = PCCARD_IVAR ( dev ) ; struct pccard_function * pf = devi -> pf ; pccard_function_init ( pf , entry ) ; return ( pf -> cfe ? 0 : ENOMEM ) ; }
@brief pccard_select_cfe
 Select a cfe entry to use.
@brief pccard_select_cfe Select a cfe entry to use .