/* Retrieve information about the manufacturer of the specified ISDN controller or (for @contr == 0) the driver itself. Return value: CAPI result code  */
u16 capi20_get_manufacturer(u32 contr, u8 *buf)
/* Retrieve information about the manufacturer of the specified ISDN controller or (for @contr == 0) the driver itself. Return value: CAPI result code  */
u16 capi20_get_manufacturer(u32 contr, u8 *buf)
{
	struct capi_ctr *card;
	if (contr == 0) {
		strlcpy(buf, capi_manufakturer, CAPI_MANUFACTURER_LEN);
		return CAPI_NOERROR;
	}
	card = get_capi_ctr_by_nr(contr);
	if (!card || card->cardstate != CARD_RUNNING) 
		return CAPI_REGNOTINSTALLED;
	strlcpy(buf, card->manu, CAPI_MANUFACTURER_LEN);
	return CAPI_NOERROR;
}