/* From a security standpoint, we trust the card vendors. This may be a misplaced trust.  */
static void ecard_task_reset(struct ecard_request *req)
/* From a security standpoint, we trust the card vendors. This may be a misplaced trust.  */
static void ecard_task_reset(struct ecard_request *req)
{
	struct expansion_card *ec = req->ec;
	struct resource *res;
	res = ec->slot_no == 8
		? &ec->resource[ECARD_RES_MEMC]
		: ec->easi
		  ? &ec->resource[ECARD_RES_EASI]
		  : &ec->resource[ECARD_RES_IOCSYNC];
	ecard_loader_reset(res->start, ec->loader);
}