rem: break; case NV40A: default: switch (si->ps.card_type) { case NV40: case NV45:  LOG(4, ("Overlay: Exporting hook %s.\n", msg)); return B_OK; break; default:  LOG(4, ("Overlay: Not exporting hook %s.\n", msg)); return B_ERROR; break; } break;
context: status_t check_overlay_capability(uint32 feature){	char *msg = "";	/* setup logmessage text */	switch (feature)	{	case B_OVERLAY_COUNT:		msg = "B_OVERLAY_COUNT";		break;	case B_OVERLAY_SUPPORTED_SPACES:		msg = "B_OVERLAY_SUPPORTED_SPACES";		break;	case B_OVERLAY_SUPPORTED_FEATURES:		msg = "B_OVERLAY_SUPPORTED_FEATURES";		break;	case B_ALLOCATE_OVERLAY_BUFFER:		msg = "B_ALLOCATE_OVERLAY_BUFFER";		break;	case B_RELEASE_OVERLAY_BUFFER:		msg = "B_RELEASE_OVERLAY_BUFFER";		break;	case B_GET_OVERLAY_CONSTRAINTS:		msg = "B_GET_OVERLAY_CONSTRAINTS";		break;	case B_ALLOCATE_OVERLAY:		msg = "B_ALLOCATE_OVERLAY";		break;	case B_RELEASE_OVERLAY:		msg = "B_RELEASE_OVERLAY";		break;	case B_CONFIGURE_OVERLAY:		msg = "B_CONFIGURE_OVERLAY";		break;	default:		msg = "UNKNOWN";		break;	}	/* all supported cards have a bes, but... */	switch (si->ps.card_arch)	{	case NV04A:	case NV10A:	case NV20A:	case NV30A:		/* all older cards have a supported bes */		LOG(4, ("Overlay: Exporting hook %s.\n", msg));		return B_OK;		break;	case NV40A:	default:		switch (si->ps.card_type)		{		case NV40:		case NV45:			/* all GeForce 6800's cards have a supported bes */			LOG(4, ("Overlay: Exporting hook %s.\n", msg));			return B_OK;			break;		default:			/* all NV40 architecture cards have a new HDTV capable bes except for			 * GeForce 6800's. Unfortunately we have no info about the new bes yet. */			LOG(4, ("Overlay: Not exporting hook %s.\n", msg));			return B_ERROR;			break;		}		break;	}}